Class ExportDumpDatabaseConfiguration
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
-
- de.akquinet.jbosscc.guttenbase.configuration.impl.DefaultTargetDatabaseConfiguration
-
- de.akquinet.jbosscc.guttenbase.export.ExportDumpDatabaseConfiguration
-
- All Implemented Interfaces:
DatabaseConfiguration,TargetDatabaseConfiguration
public class ExportDumpDatabaseConfiguration extends DefaultTargetDatabaseConfiguration
Export dump configuration forwards important events toExportDumpConnection.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
_connectorRepository
-
-
Constructor Summary
Constructors Constructor Description ExportDumpDatabaseConfiguration(ConnectorRepository connectorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInsert(Connection connection, String connectorId, TableMetaData table)Called after an INSERT clause is executed.voidafterNewRow(Connection connection, String connectorId, TableMetaData table)Called after a new row of data (VALUES clause) has been added to the INSERT statement.voidafterTableCopy(Connection connection, String connectorId, TableMetaData table)Called after table has been copiedvoidbeforeNewRow(Connection connection, String connectorId, TableMetaData table)Called before a new row of data (VALUES clause) is added to the INSERT statement.voidbeforeTableCopy(Connection connection, String connectorId, TableMetaData table)Called before table is copied-
Methods inherited from class de.akquinet.jbosscc.guttenbase.configuration.impl.DefaultTargetDatabaseConfiguration
beforeInsert, finalizeTargetConnection, initializeTargetConnection, isMayCommit
-
Methods inherited from class de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
executeSQL
-
-
-
-
Constructor Detail
-
ExportDumpDatabaseConfiguration
public ExportDumpDatabaseConfiguration(ConnectorRepository connectorRepository)
-
-
Method Detail
-
afterInsert
public void afterInsert(Connection connection, String connectorId, TableMetaData table)
Description copied from class:DefaultTargetDatabaseConfigurationCalled after an INSERT clause is executed. E.g., in order to re-enable foreign key constraints.- Specified by:
afterInsertin interfaceTargetDatabaseConfiguration- Overrides:
afterInsertin classDefaultTargetDatabaseConfiguration
-
beforeTableCopy
public void beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Description copied from class:AbstractDatabaseConfigurationCalled before table is copied- Specified by:
beforeTableCopyin interfaceDatabaseConfiguration- Overrides:
beforeTableCopyin classAbstractDatabaseConfiguration
-
afterTableCopy
public void afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Description copied from class:AbstractDatabaseConfigurationCalled after table has been copied- Specified by:
afterTableCopyin interfaceDatabaseConfiguration- Overrides:
afterTableCopyin classAbstractDatabaseConfiguration
-
beforeNewRow
public void beforeNewRow(Connection connection, String connectorId, TableMetaData table)
Description copied from class:DefaultTargetDatabaseConfigurationCalled before a new row of data (VALUES clause) is added to the INSERT statement. Note that an INSERT statement may have multiple VALUES clauses. This method will be called for every VALUES clause.- Specified by:
beforeNewRowin interfaceTargetDatabaseConfiguration- Overrides:
beforeNewRowin classDefaultTargetDatabaseConfiguration
-
afterNewRow
public void afterNewRow(Connection connection, String connectorId, TableMetaData table)
Description copied from class:DefaultTargetDatabaseConfigurationCalled after a new row of data (VALUES clause) has been added to the INSERT statement.- Specified by:
afterNewRowin interfaceTargetDatabaseConfiguration- Overrides:
afterNewRowin classDefaultTargetDatabaseConfiguration
-
-