de.akquinet.jbosscc.guttenbase.tools.RefreshTargetConnection Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.tools;
import de.akquinet.jbosscc.guttenbase.meta.TableMetaData;
/**
* Some JDBC drivers seem to accumulate data over time, even after a connection is commited() and all statements, result sets, etc. are closed.
* This will cause an OutOfMemoryError eventually.
* To avoid this the connection can be flushed, closed and re-established periodically using this hint.
*
*
* © 2012-2034 akquinet tech@spree
*
*
* @author M. Dahm
*/
public interface RefreshTargetConnection {
boolean refreshConnection(int noCopiedTables, TableMetaData sourceTableMetaData);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy