Announcement Announcement Module
Collapse
No announcement yet.
Executing a stored procedure multiple times using Spring Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    Thanks
    Last edited by sibahl; Dec 17th, 2008, 04:11 PM.
Working...
X