-->
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: Specifying unsaved value using Hibernate 3 annotation
PostPosted: Wed Mar 29, 2006 7:27 pm 
Newbie

Joined: Mon Jul 19, 2004 8:17 pm
Posts: 3
Location: Melbourne, Australia
Hi,

I'm currently having a problem with a circular reference using @Configurable in Spring in a Hibernate @Entity. While finding a solution I came accross a sugestion to specify the "unsaved-value" of the domain model object. The problem is that I haven't found a way using annotations to specify the unsaved value of an entity, although I've read that Hibernate 3 will do that automatically.

Any help will be of great value,

Thanks in advance,

Karel Alfonso


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 31, 2006 7:50 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Hibernate has some nice algorithms to guess the unsavedValue. You should consider this parameter as deprecated, that's why I didn't add an annotation for it.

_________________
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.