-->
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: getHibernateTemplate().saveorUpdateAll() not updating
PostPosted: Fri Mar 23, 2007 1:52 am 
Newbie

Joined: Thu Mar 22, 2007 5:18 am
Posts: 1
HI,



Code:
getHibernateTemplate().saveorUpdateAll(Collection)
is not updating the last record in hte collection.
Does any one have any idea ?

I am sure the collection is getting all the records which i have tested before the statement being submitted to Hibernate engine.

say i am updating 5 records it updates only 4 records and is updating the last record in the collection.

if i have only one record it is not updating the record at all....


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 23, 2007 2:56 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
This is not a Hibernate API. Use the Hibernate API.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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.