-->
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: Can't find isUnsaved() in Interceptor interface (v3beta1)
PostPosted: Tue Jan 18, 2005 7:32 am 
Newbie

Joined: Tue Jan 18, 2005 7:04 am
Posts: 2
Hibernate version: 3.0 beta 1

I can't find the method isUnsaved() in Interceptor interface.
I want to used it for an entity using a composite key to let my application setting if an instance is a new one or an existing one in db.

Can someone tell me what to use?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 10:06 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Have a lok at this page
http://hibernate.org/Documentation/Hibernate3MigrationGuide

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 10:21 am 
Newbie

Joined: Tue Jan 18, 2005 7:04 am
Posts: 2
Thanks a lot !
Quote:
Interceptor interface

Two new methods were added to the Interceptor interface. Existing interceptors will need to be ugraded to provide empty implementations of the two new methods. The signature of instantiate() was modified to take a String-valued entity name instead of a Class object. The isUnsaved() method was renamed isTransient().


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.