Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Batch Update in Hibernate

 
Pankaj Patro
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Hibaernate supports batch Update?
Can I simultaneously delete and insert records?

Advance ThankQ
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Is Hibaernate supports batch Update?

Yes. Flush the session only when all your updates have been done.


Can I simultaneously delete and insert records?

Within the scope of one session, yes.
[ June 15, 2005: Message edited by: Paul Sturrock ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic