• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to insert multiple records at once using hibernate

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts and hibernate. I have a situation where I want to save multiple records at once. I am storing those records in a list object in the form of beans. I dont want to use a loop to insert.

Is there any way I can insert all the records at once using that List object at once.

Thanking you.

--regards,
raajag
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!