Does IBATIS have Batch support for preparedstatements e.g. suppose I have got
4 statements, 2 inserts and 2 update. How should I call batch?
Option 1:
sqlMap.startBatch();
all statements
sqlMap.executeBatch()
Option 2:
sqlMap.startBtach()
all inserts
sqlMap.executeBatch()
sqlMap.startBtach()
all updates
sqlMap.executeBatch()
In my idea for option 1 you cannot use preparedstatement, have to use
statements.
Am I Correct? please confirm.
--
View this message in context:
http://www.nabble.com/IBATIS-Batch-Support-tf2008779.html#a5518529
Sent from the iBATIS - User - Java forum at Nabble.com.