Class RefreshTargetConnectionHint
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.hints.RefreshTargetConnectionHint
-
- All Implemented Interfaces:
ConnectorHint<RefreshTargetConnection>
- Direct Known Subclasses:
DefaultRefreshTargetConnectionHint
public abstract class RefreshTargetConnectionHint extends Object implements ConnectorHint<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
AbstractTableCopyTool
to determine table order
-
-
Constructor Summary
Constructors Constructor Description RefreshTargetConnectionHint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<RefreshTargetConnection>
getConnectorHintType()
-
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.hints.ConnectorHint
getValue
-
-
-
-
Method Detail
-
getConnectorHintType
public Class<RefreshTargetConnection> getConnectorHintType()
- Specified by:
getConnectorHintType
in interfaceConnectorHint<RefreshTargetConnection>
-
-