File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Batch Update in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Batch Update in Hibernate" Watch "Batch Update in Hibernate" New topic
Author

Batch Update in Hibernate

Pankaj Patro
Ranch Hand

Joined: Apr 20, 2005
Posts: 35
Is Hibaernate supports batch Update?
Can I simultaneously delete and insert records?

Advance ThankQ


Thanks & Regards,
Pankaj Patro
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


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 ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Batch Update in Hibernate