Module is.codion.framework.db.core
Package is.codion.framework.db
Interface EntityConnection.BatchCopy
- Enclosing interface:
- EntityConnection
public static interface EntityConnection.BatchCopy
Copies a set of entities between a source and destination connection, 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 for aEntityConnection.BatchCopy
operation. -
Method Summary
-
Method Details
-
execute
void execute()Executes this copy operation- Throws:
DatabaseException
- in case of an exception
-