Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HibernateTemplate batch Update

 
Gigi Kent
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Does anyone know how to do an batch update using getHibernateTemplate?

I have a List of objects, and I want to do un update for everyone in a batch, for performance issues.

Is this possible?

All I found is that


But this is for hql query, and I don't know how to usit in my case.

I've tried to do this:


but it does not work.


Thanks.

Corneliu.
[ November 27, 2008: Message edited by: Corneliu Croitoru ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!