Class AbstractDatabaseConfiguration
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
-
- All Implemented Interfaces:
DatabaseConfiguration
- Direct Known Subclasses:
DefaultSourceDatabaseConfiguration
,DefaultTargetDatabaseConfiguration
public abstract class AbstractDatabaseConfiguration extends Object implements DatabaseConfiguration
Abstract base implementation of data base configuration.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Field Summary
Fields Modifier and Type Field Description protected ConnectorRepository
_connectorRepository
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseConfiguration(ConnectorRepository connectorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Called after table has been copiedvoid
beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Called before table is copiedprotected void
executeSQL(Connection connection, String sql)
Execute single statement.
-
-
-
Field Detail
-
_connectorRepository
protected final ConnectorRepository _connectorRepository
-
-
Constructor Detail
-
AbstractDatabaseConfiguration
public AbstractDatabaseConfiguration(ConnectorRepository connectorRepository)
-
-
Method Detail
-
executeSQL
protected void executeSQL(Connection connection, String sql) throws SQLException
Execute single statement.- Throws:
SQLException
-
beforeTableCopy
public void beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Called before table is copied- Specified by:
beforeTableCopy
in interfaceDatabaseConfiguration
-
afterTableCopy
public void afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Called after table has been copied- Specified by:
afterTableCopy
in interfaceDatabaseConfiguration
-
-