类 JBossNativeJdbcExtractor

  • 所有已实现的接口:
    NativeJdbcExtractor

    public class JBossNativeJdbcExtractor
    extends NativeJdbcExtractorAdapter
    Implementation of the NativeJdbcExtractor interface for JBoss, supporting JBoss Application Server 3.2.4+. As of Spring 3.1.1, it also supports JBoss 7.

    Returns the underlying native Connection, Statement, etc to application code instead of JBoss' wrapper implementations. 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 JBoss connection pool: If a given object is not a JBoss wrapper, it will be returned as-is.

    从以下版本开始:
    03.01.2004
    作者:
    Juergen Hoeller
    另请参阅:
    org.jboss.resource.adapter.jdbc.WrappedConnection#getUnderlyingConnection, org.jboss.resource.adapter.jdbc.WrappedStatement#getUnderlyingStatement, org.jboss.resource.adapter.jdbc.WrappedResultSet#getUnderlyingResultSet