类 C3P0NativeJdbcExtractor

  • 所有已实现的接口:
    NativeJdbcExtractor

    public class C3P0NativeJdbcExtractor
    extends NativeJdbcExtractorAdapter
    Implementation of the NativeJdbcExtractor interface for the C3P0 connection pool.

    Returns underlying native Connections to application code instead of C3P0's wrapper implementations; unwraps the Connection for native Statements. The returned JDBC classes can then safely be cast, e.g. to oracle.jdbc.OracleConnection.

    This NativeJdbcExtractor can be set just to allow working with a C3P0 DataSource: If a given object is not a C3P0 wrapper, it will be returned as-is.

    Note that this class requires C3P0 0.8.5 or later; for earlier C3P0 versions, use SimpleNativeJdbcExtractor (which won't work for C3P0 0.8.5 or later).

    从以下版本开始:
    1.1.5
    作者:
    Juergen Hoeller
    另请参阅:
    C3P0ProxyConnection.rawConnectionOperation(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]), SimpleNativeJdbcExtractor