-->
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: Opt lock on one out of multiple concrete classes
PostPosted: Thu Jun 21, 2007 5:06 am 
Beginner
Beginner

Joined: Tue Mar 27, 2007 4:54 am
Posts: 47
Hi

I'm in a situation where I want one concrete type to be versioned but not the other types deriving from the the same base class. From the docs I read "<version> and <id> properties are assumed to be inherited from the root class". Does any know why nhibernate has this limitation? From my point of view, it would technicly be possible to place the version column on the table holding the concrete type.
Has anyone out there been struggling with this issue and maybe got a nice work around?
Maybe it just works if I use table per concrete class strategy? To be honest though, I have limited experience using that in the case I need bi-directional references (<any>?).

Thanks
Roger


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.