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 void
afterInsert(Connection connection, String connectorId, TableMetaData table)
Called after an INSERT clause is executed.void
afterNewRow(Connection connection, String connectorId, TableMetaData table)
Called after a new row of data (VALUES clause) has been added to the INSERT statement.void
afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Called after table has been copiedvoid
beforeNewRow(Connection connection, String connectorId, TableMetaData table)
Called before a new row of data (VALUES clause) is added to the INSERT statement.void
beforeTableCopy(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:DefaultTargetDatabaseConfiguration
Called after an INSERT clause is executed. E.g., in order to re-enable foreign key constraints.- Specified by:
afterInsert
in interfaceTargetDatabaseConfiguration
- Overrides:
afterInsert
in classDefaultTargetDatabaseConfiguration
-
beforeTableCopy
public void beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Description copied from class:AbstractDatabaseConfiguration
Called before table is copied- Specified by:
beforeTableCopy
in interfaceDatabaseConfiguration
- Overrides:
beforeTableCopy
in classAbstractDatabaseConfiguration
-
afterTableCopy
public void afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Description copied from class:AbstractDatabaseConfiguration
Called after table has been copied- Specified by:
afterTableCopy
in interfaceDatabaseConfiguration
- Overrides:
afterTableCopy
in classAbstractDatabaseConfiguration
-
beforeNewRow
public void beforeNewRow(Connection connection, String connectorId, TableMetaData table)
Description copied from class:DefaultTargetDatabaseConfiguration
Called 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:
beforeNewRow
in interfaceTargetDatabaseConfiguration
- Overrides:
beforeNewRow
in classDefaultTargetDatabaseConfiguration
-
afterNewRow
public void afterNewRow(Connection connection, String connectorId, TableMetaData table)
Description copied from class:DefaultTargetDatabaseConfiguration
Called after a new row of data (VALUES clause) has been added to the INSERT statement.- Specified by:
afterNewRow
in interfaceTargetDatabaseConfiguration
- Overrides:
afterNewRow
in classDefaultTargetDatabaseConfiguration
-
-