Batching PreparedStatements with Spring??

J

Jaba

I'm trying to get familiar with Spring and its many capabilities. I'm
currently trying to batch prepared statements and I'm having difficulty

doing it.

Can someone give me some guidance on how to do this? Everything I've
done to this point has been using a simple SQL statement. I've even
batched SQL statements and run that with success.


I've been trying to use "batchUpdate(String
sql,BatchPreparedStatementSetter pss)" but I can not figure out the
whole BatchPreparedStatementSetter aspect of the method.


Any help would be appreciated.


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top