-->
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: About batch update/delete/insert in Hibernate
PostPosted: Wed Apr 20, 2005 7:29 am 
Newbie

Joined: Wed Apr 20, 2005 6:05 am
Posts: 9
Hi all,
I am using hibernate 2.1.4, manipulating a grape of POJOs. All having a "version" property for pessimistic locking. What I want to know is how batch update/delete/insert can be activated in hibernate? Is it done automatically? Does it work with POJOs having "version" property?
best regards
Mohammed



[b]Hibernate version: 2.1.4[/b]

[b]Name and version of the database you are using: Oracle 9i[/b]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2005 10:17 am 
Newbie

Joined: Wed Apr 20, 2005 6:05 am
Posts: 9
While looking for a sollution, I found this page (written by Gaven King)
http://blog.hibernate.org/cgi-bin/blosx ... batch.html
unfortunatly the proposed sollution for batch update didn't work with Hibernate 2.1.8 when I use versionned data (i.e POJOs having a version number to manage optimistic lock).
any one having an idea how to do batch update with versionned data?
best regards
Mohammed


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 20, 2005 10:39 am 
Newbie

Joined: Wed Apr 20, 2005 6:05 am
Posts: 9
I have found the sollution
http://forum.hibernate.org/viewtopic.ph ... 52#2211752
thanks anyway


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.