Thread:
 Session.save(Object, Serializable) is no more 
 cortex   28 Feb 2006, 15:04 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: cortex (28 Feb 2006, 15:04) Replies: 0, Views: 36390
Subject: Session.save(Object, Serializable) is no more
Despite not mentioned above, neither removed from the documentation, the
overloaded version of save for assigning an identifier is removed in 3.1!

In my test cases I now use xxx.setId(123); Session.save(xxx); instead of
Session.save(xxx, 123); as recommended by Gavin King in HH-1323.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]