All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.akquinet.jbosscc.guttenbase.configuration.SourceDatabaseConfiguration Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package de.akquinet.jbosscc.guttenbase.configuration;

import java.sql.Connection;
import java.sql.SQLException;

import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;

/**
 * Configuration methods for source data base. Implementations may execute specific initialization code before and after operations are
 * executed.
 * 
 * 

* © 2012-2020 akquinet tech@spree *

* * @author M. Dahm */ @SuppressWarnings("RedundantThrows") public interface SourceDatabaseConfiguration extends DatabaseConfiguration { /** * Called before any real action is performed. */ void initializeSourceConnection(Connection connection, String connectorId) throws SQLException; /** * Called after actions have been performed. */ void finalizeSourceConnection(Connection connection, String connectorId) throws SQLException; /** * Called before a SELECT clause is executed. */ void beforeSelect(final Connection connection, String connectorId, TableMetaData table) throws SQLException; /** * Called after a SELECT clause is executed. */ void afterSelect(final Connection connection, String connectorId, TableMetaData table) throws SQLException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy