-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Caused by: org.hibernate.DuplicateMappingException
PostPosted: Wed Mar 10, 2010 9:51 pm 
Newbie

Joined: Wed Mar 10, 2010 9:45 pm
Posts: 1
Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping

I am using Apache Wink to create my RESTful Web Service.
I have used Hibernate to do CRUD operation on my MySQL Database.

And I am getting the Exception Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping

I am not able to figure out what is wrong?
I had used the same Hibernate classes and mappings with Jersey on Glassfish and It was working fine.
The whole application was throughly tested and then there was this requirement to migrate to Tomcat 6.x
While doing that I had reused my Hibernate Layer with Apache Wink and have faced this issue.

Please advice.
-HT


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.