Class DefaultSourceDatabaseConfiguration
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
-
- de.akquinet.jbosscc.guttenbase.configuration.impl.DefaultSourceDatabaseConfiguration
-
- All Implemented Interfaces:
DatabaseConfiguration
,SourceDatabaseConfiguration
- Direct Known Subclasses:
Db2SourceDatabaseConfiguration
,DerbySourceDatabaseConfiguration
,GenericSourceDatabaseConfiguration
,H2DbSourceDatabaseConfiguration
,HsqldbSourceDatabaseConfiguration
,ImportDumpDatabaseConfiguration
,MariaDbSourceDatabaseConfiguration
,MsAccessSourceDatabaseConfiguration
,MsSqlSourceDatabaseConfiguration
,MySqlSourceDatabaseConfiguration
,OracleSourceDatabaseConfiguration
,PostgresqlSourceDatabaseConfiguration
public class DefaultSourceDatabaseConfiguration extends AbstractDatabaseConfiguration implements SourceDatabaseConfiguration
(Almost) empty implementation© 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 DefaultSourceDatabaseConfiguration(ConnectorRepository connectorRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterSelect(Connection connection, String connectorId, TableMetaData table)
Called after a SELECT clause is executed.void
beforeSelect(Connection connection, String connectorId, TableMetaData table)
Called before a SELECT clause is executed.void
finalizeSourceConnection(Connection connection, String connectorId)
Called after actions have been performed.void
initializeSourceConnection(Connection connection, String connectorId)
Connection is set read only and autocommit is false.-
Methods inherited from class de.akquinet.jbosscc.guttenbase.configuration.impl.AbstractDatabaseConfiguration
afterTableCopy, beforeTableCopy, executeSQL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.akquinet.jbosscc.guttenbase.configuration.DatabaseConfiguration
afterTableCopy, beforeTableCopy
-
-
-
-
Constructor Detail
-
DefaultSourceDatabaseConfiguration
public DefaultSourceDatabaseConfiguration(ConnectorRepository connectorRepository)
-
-
Method Detail
-
initializeSourceConnection
public void initializeSourceConnection(Connection connection, String connectorId) throws SQLException
Connection is set read only and autocommit is false.Called before any real action is performed.
- Specified by:
initializeSourceConnection
in interfaceSourceDatabaseConfiguration
- Throws:
SQLException
-
finalizeSourceConnection
public void finalizeSourceConnection(Connection connection, String connectorId) throws SQLException
Called after actions have been performed.- Specified by:
finalizeSourceConnection
in interfaceSourceDatabaseConfiguration
- Throws:
SQLException
-
beforeSelect
public void beforeSelect(Connection connection, String connectorId, TableMetaData table)
Called before a SELECT clause is executed.- Specified by:
beforeSelect
in interfaceSourceDatabaseConfiguration
-
afterSelect
public void afterSelect(Connection connection, String connectorId, TableMetaData table)
Called after a SELECT clause is executed.- Specified by:
afterSelect
in interfaceSourceDatabaseConfiguration
-
-