-->
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: @CollectionOfElements with @ManyToOne
PostPosted: Wed Dec 14, 2005 6:36 am 
Newbie

Joined: Mon Sep 13, 2004 9:44 am
Posts: 13
Hibernate version: 3.1final, annotations 3.1beta7

Thankyou for @CollectionOfElements. It is much simpler for modelling value semantics than entities with delete-orphan cascades.

Are there plans to allow the equivalent of:

Code:
<set ...>
  <composite-element ...>
    <many-to-one ...>
      ...
    </many-to-one>
  </composite-element>
</set>


This seems to be a restriction on what you can have in @Embeddable as described in the docs when discussing EJB3 embedded objects. I'm suprised EJB3 allows @Embedded at all if it doesn't allow @ManyToOne within the @Embeddable!

I looked for a JIRA indicating that this will be implemented, but didn't find one.

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 14, 2005 9:34 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I need to sit down one day and write this feature

_________________
Emmanuel


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.