-->
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.  [ 2 posts ] 
Author Message
 Post subject: Java Interfaces again...
PostPosted: Mon Apr 19, 2004 4:48 pm 
Newbie

Joined: Thu Apr 01, 2004 2:19 pm
Posts: 14
I wante to use same table for my 2 java classes implementing the same interface. Hibernate reference says to use "discriminator-value" for sub-class. What should this value be? Should me class have this value too?

http://www.hibernate.org/hib_docs/refer ... tance.html


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 4:54 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
you can also use joined subclasses, it depends on how your relational db is.
Have read twice the doc?


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

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.