Module is.codion.framework.db.core
Package is.codion.framework.db
Interface EntityConnection.BatchInsert
- Enclosing interface:
- EntityConnection
public static interface EntityConnection.BatchInsert
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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder forEntityConnection.BatchInsertoperation. -
Method Summary
-
Method Details
-
execute
void execute() throws is.codion.common.db.exception.DatabaseExceptionExecutes this batch insert- Throws:
is.codion.common.db.exception.DatabaseException- in case of an exception
-