de.akquinet.jbosscc.guttenbase.hints.RefreshTargetConnectionHint Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.hints;
import de.akquinet.jbosscc.guttenbase.tools.AbstractTableCopyTool;
import de.akquinet.jbosscc.guttenbase.tools.RefreshTargetConnection;
/**
* 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
*
* Hint is used by {@link AbstractTableCopyTool} to determine table order
*/
public abstract class RefreshTargetConnectionHint implements ConnectorHint {
@Override
public Class getConnectorHintType() {
return RefreshTargetConnection.class;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy