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
Modifier and TypeInterfaceDescriptionstatic interface
A builder forEntityConnection.BatchInsert
operation. -
Method Summary
-
Method Details
-
execute
void execute()Executes this batch insert- Throws:
DatabaseException
- in case of an exception
-