Is there any way to get to the raw Oracle jdbc connection from the wrapped connection returned by a datasource? I need to get a connection that I can cast to OracleConnection to use an Oracle specific feature. Anybody know how to do this? Thanks.
WrappedConnection has a:
Connection getUnderlyingConnection() method
There may be side-effects in using the connection directly, particularly with committing data. YMMV.