-->
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: transient or detached?
PostPosted: Tue Apr 27, 2010 4:36 am 
Newbie

Joined: Mon Nov 23, 2009 2:33 am
Posts: 5
Good day! I have tree that can be load from database and must save after edit. To delete node I must know it's state. I forget about transient, but detached must be deleted from database. Is there some method to distinguish transient or detached object?


Top
 Profile  
 
 Post subject: Re: transient or detached?
PostPosted: Tue Apr 27, 2010 5:41 am 
Regular
Regular

Joined: Tue Jan 27, 2004 12:22 pm
Posts: 103
Hibernate.isInitialized

_________________
Dencel
- The sun has never seen a shadow -


Top
 Profile  
 
 Post subject: Re: transient or detached?
PostPosted: Tue Apr 27, 2010 8:00 am 
Newbie

Joined: Mon Nov 23, 2009 2:33 am
Posts: 5
Thanks,Dencel


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.