-->
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: Mapping an Entity more than once
PostPosted: Wed Jun 13, 2007 10:44 am 
Newbie

Joined: Tue May 29, 2007 12:33 am
Posts: 13
This functionality is supported in plain hibernate (http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html#mapping-entityname);

I'm curious as to why this is not the case for hibernate when working as persistence provider (fails with
Code:
java.lang.IllegalStateException: Duplicate XML entry for <fully qualified class name>
).

AFAIK, spec does not restrict this, or does it? I saw earlier this year a JIRA was logged to implement this as a new feature for the Hibernate Annotations project (http://opensource.atlassian.com/projects/hibernate/browse/ANN-569),
but it was closed.

Why was that? Any response will be deeply appreciated.

Regards,


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.