Package org.alfresco.ibatis
Interface BatchingDAO
-
public interface BatchingDAO
Interface for DAOs that offer batching. This should be provided as an optimization and DAO implementations that can't supply batching should just do nothing.- Since:
- 3.2.1
- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeBatch()
Write a batch of insert or update commandsvoid
startBatch()
Start a batch of insert or update commands
-
-
-
Method Detail
-
startBatch
void startBatch()
Start a batch of insert or update commands- Throws:
RuntimeException
- wrapping a SQLException
-
executeBatch
void executeBatch()
Write a batch of insert or update commands- Throws:
RuntimeException
- wrapping a SQLException
-
-