-->
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: StackOverflow error with annotations and @Embedded
PostPosted: Tue Sep 06, 2005 1:31 pm 
Newbie

Joined: Sat Apr 30, 2005 7:23 pm
Posts: 4
Maybe the following isnt allowed by the spec (I have looked and havent ben able to find it is that is so), but I am trying to @Embed an objet inside and @Embeddable.

The end result is a StackOVerflowException when trying to create the schema ...

I am using Hibernate annotations 3.1 beta 4, and the most recent Hibernate release comaptible with Hibernate annotations, but not the entity manager.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 6:47 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is doable and part of the unit test suite.
Of course an embeddable object A embedding an embaddable object B which embedded the first one (A) is not possible since a circular reference occurs.
Show your code to disambiguate the issue.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 1:46 pm 
Newbie

Joined: Sat Apr 30, 2005 7:23 pm
Posts: 4
Humm the code that exhibits this is a bit convoluted .. I will try to cimplify it and post it afterward.


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.