Results 1 to 1 of 1

Thread: Executing a stored procedure multiple times using Spring

  1. #1
    Join Date
    Dec 2008
    Posts
    1

    Question 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 at 03:11 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •