-->
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.  [ 3 posts ] 
Author Message
 Post subject: TABLE PER SUBCLASS USING A DISCRIMINATOR with ANNOTATIONS!
PostPosted: Mon Sep 04, 2006 2:54 pm 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
urgent

How can 9.1.3. Table per subclass, using a discriminator http://www.hibernate.org/hib_docs/v3/reference/en/html/inheritance.html#inheritance-tablepersubclass-discriminator be done using Hibernate Annotations?!

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 05, 2006 3:50 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
this is explained in the refernce documentation

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 05, 2006 4:57 pm 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
Sorry,

I've forgot to mention that there is no way to set fetch="select" using annotations in Table per subclass, using a discriminator (see ChequePayment's mapping)

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.