Interface RefreshTargetConnection


  • public interface 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
    • Method Detail

      • refreshConnection

        boolean refreshConnection​(int noCopiedTables,
                                  TableMetaData sourceTableMetaData)