Interface EntityConnection.Insert

Enclosing interface:
EntityConnection

public static interface EntityConnection.Insert
Inserts entities in batches, performing a commit after each batchSize number of inserts, unless the destination connection has an open transaction.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A builder for EntityConnection.Insert operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes this batch insert
  • Method Details

    • execute

      void execute() throws is.codion.common.db.exception.DatabaseException
      Executes this batch insert
      Throws:
      is.codion.common.db.exception.DatabaseException - in case of an exception