Class WebLogicNativeJdbcExtractor

  • All Implemented Interfaces:
    NativeJdbcExtractor

    public class WebLogicNativeJdbcExtractor
    extends NativeJdbcExtractorAdapter
    Implementation of the NativeJdbcExtractor interface for WebLogic, supporting WebLogic Server 9.0 and higher.

    Returns the underlying native Connection to application code instead of WebLogic's wrapper implementation; 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 WebLogic DataSource: If a given object is not a WebLogic Connection wrapper, it will be returned as-is.

    Since:
    1.0.2
    Author:
    Thomas Risberg, Juergen Hoeller
    See Also:
    NativeJdbcExtractorAdapter.getNativeConnection(java.sql.Connection), weblogic.jdbc.extensions.WLConnection#getVendorConnection