-->
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: Versioning of joined-subclasses
PostPosted: Thu Jun 05, 2008 4:13 pm 
Newbie

Joined: Thu Jun 05, 2008 3:17 pm
Posts: 2
I have two tables that were originally mapped as a one-to-one relationship, but subsequently re-mapped using Hibernate's inheritance capabilities. Here's the quirk: as these tables were originally mapped as a one-to-one relationship, each table has a version number (mapped using Hibernates <version> tag). When I re-did the mapping as a joined-subclass, I noticed that Hibernate does not support the version tag on a joined-subclass. Is there any particular reason for this?

My theory is that because the two physical tables are now joined in Hibernate, it doesn't make sense for there to be two different versions on one table. Is this correct?

Will I ultimately have to remove the version on the subclass table?

Thanks.


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.