-->
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: Embedded Class as Superclass
PostPosted: Wed Sep 01, 2010 6:14 am 
Newbie

Joined: Wed May 11, 2005 7:16 am
Posts: 9
Hello,

is there any possibility to map following scenario in the embedded and not the association way:

Class ITSystems has a property admins which is from class Participation which is a superclass of EmployeeParticipations and GroupParticipations. I wanna map this as embedded, because a particpation can only exist as long as the ITSystem exist.

If i annotate class Participation as Embedded, and both subclasses too hibernate doesn't recognize this while generating itsystems table...

Is there any chance for embedded or do i have to use i uses associations?


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.