Dec 17th, 2008, 09:44 AM
Executing a stored procedure multiple times using Spring
I was wondering if there is support for batch updates on the CallableStatement in spring.
Here is what i want to do:
1. I have a stored procedure (with in.out parameters) that i use to insert/update say customer information
2. I have to expose support for following methods insert(Customer) and insert(List<Customer>)
3. If i was not using spring i would have used batchUpdate on CallableStatement in insert(List<Customer>).
Whats the best way to do this in Spring? I am using 2.5.
Last edited by sibahl; Dec 17th, 2008 at 03:11 PM.
Tags for this Thread