Announcement Announcement Module
Collapse
No announcement yet.
StoredProcedure to support batchUpdate api Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • StoredProcedure to support batchUpdate api

    I cannot find an api in StoredProc class to batch the storedProc call. Can this be not added? for e.g.

    int[] updateCounts = mystoredProc.updateBatch(batchValues);


    The only way to achieve batching in spring 3.0 is to use JDBSCTemplate. But adding the api to StoredProc enables one to run a StoredProc declared as a spring bean (in a config file), to be run in batch and unbatched mode.
Working...
X