-->
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: Associations in @EmbeddableSuperclass / @MappedSuperclass
PostPosted: Wed Mar 08, 2006 9:03 am 
Newbie

Joined: Mon Jan 23, 2006 11:04 am
Posts: 7
Hibernate version: Annotations 3.1beta7 / Core 3.1

I noticed that the Annotations FAQ says that associations are not supported in Embeddable objects:

Quote:
I can't make @ManyToOne / @OneToOne / @OneToMany / @ManyToMany work in my @Embeddable object
I can't override the @JoinColumns of my @Embeddable object
Hibernate Annotations currently does not support associations inside embeddable objects.


Does a @MappedSuperclass support associations ?

(I noticed that @EmbeddableSuperclass appeara to work OK for unidirectional @ManyToOne .. I mapped it by mistake before I read the FAQ ;-) )

Many thanks in advance, Hibernate is FAB :-)


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.