wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Inserting multplie rows using ibatis" Watch "Inserting multplie rows using ibatis" New topic
Author

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: 9345
    
    2

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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Inserting multplie rows using ibatis
 
Similar Threads
datatable - row colors
Ibatis + SQLMAP
Which tool to use
How to Pass a List/Map Through the iBatis to the Database?
Which way in JAVA is the best and modern to connect Oracle