Implementation of the NativeJdbcExtractor interface for WebSphere.
Returns the underlying native Connection to application code instead
of WebSphere'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 WebSphere DataSource: If a given object is not a WebSphere
Connection wrapper, it will be returned as-is.
Supports both WebSphere 5 and WebSphere 4. Currently tested with
IBM WebSphere 5.1.0, 5.0.2 and 4.0.6. Thanks to Dave Keller and Victor
for figuring out how to do the unwrapping on WebSphere 5 and 4!
author: Juergen Hoeller since: 1.1 See Also: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection See Also: com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.getNativeConnection See Also: com.ibm.ejs.cm.proxy.ConnectionProxy.getPhysicalConnection |