public class TransferProcess extends Object
| Constructor and Description |
|---|
TransferProcess() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteTables(Connection targetConnection)
Deletes all the rows of all the EA tables from the target connection.
|
static void |
modelTransfer(Connection sourceConnection,
Connection targetConnection,
boolean batchInsert)
Performs the database transfer from the source to the destination connections.
|
public static void modelTransfer(Connection sourceConnection, Connection targetConnection, boolean batchInsert) throws EAModelTransferException
sourceConnection - JDBC connection to the source database.targetConnection - JDBC connection to the destination database.batchInsert - Performs the insertions in batch mode, which enhances the overall performance of the operation.EAModelTransferException - Generic handled exception.public static void deleteTables(Connection targetConnection) throws SQLException
targetConnection - Database connection.SQLException - Exception while handling the deletions.Copyright © 2019. All rights reserved.