- Enclosing interface:
- EntityConnection
public static interface EntityConnection.Copy
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder for aEntityConnection.Copyoperation. -
Method Summary
-
Method Details
-
execute
void execute() throws is.codion.common.db.exception.DatabaseExceptionExecutes this copy operation- Throws:
is.codion.common.db.exception.DatabaseException- in case of an exception
-