File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Duplicate Hibernate mapping exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Duplicate Hibernate mapping exception" Watch "Duplicate Hibernate mapping exception" New topic
Author

Duplicate Hibernate mapping exception

Mohammed Yasir
Greenhorn

Joined: Oct 28, 2011
Posts: 1
Hi All,
I've been getting this error for quiet some time in my application.

I have tested the application on local setup it seems to work fine but when i deploy it on dev ENV i get the below error.
The application seems to run fine at certain times and i get the error some times.
i am clueless on where the problem is.
Below is the stack trace

i have checked my Hibernate.cfg.xml file
there are no duplicate entries
I dont get this error all the times.
we create a new session when a particular factory is selected.



This is my HibernateSessionFactory
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19543
    
  16

Welcome to the Ranch!

Could you please UseCodeTags next time? I've added them for you this time; look how much easier it is to read the code.

Also, CarefullyChooseOneForum. I'll move this thread to our ORM forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Duplicate Hibernate mapping exception
 
Similar Threads
Exception in Liquid Data with Xquery
not able to consume any web service
ClassCastException when using call.invoke()
KeyStore EOF Exception
Dynamic Form Elements - Exception