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 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