Meaningless Drivel is fun!
The moose likes Object Relational Mapping and the fly likes Inserting multplie rows using ibatis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Inserting multplie rows using ibatis" Watch "Inserting multplie rows using ibatis" New topic

Inserting multplie rows using ibatis

Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

I have a list of VOs from where i have to update multiple rows in a table based on the size of the list. Can anybody help how to do this using iBatis?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9967

It is just like any other update. Iterate through the List and update one at a time!

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: Inserting multplie rows using ibatis
It's not a secret anymore!