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

Method Summary
 void executeBatch()
          Write a batch of insert or update commands
 void startBatch()
          Start a batch of insert or update commands
 

Method Detail

startBatch

void startBatch()
Start a batch of insert or update commands

Throws:
java.lang.RuntimeException - wrapping a SQLException

executeBatch

void executeBatch()
Write a batch of insert or update commands

Throws:
java.lang.RuntimeException - wrapping a SQLException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.