Implementation of the NativeJdbcExtractor interface for ObjectWeb's XAPool.
Returns underlying native Connections and native PreparedStatements to
application code instead of XAPool's wrapper implementations; unwraps the
Connection for native Statements and native CallableStatements.
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
an XAPool DataSource: If a given object is not an XAPool wrapper, it will
be returned as-is.
author: Juergen Hoeller since: 06.02.2004 |