This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 9746

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!
subject: Inserting multplie rows using ibatis