File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 10033

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!