How to Get "oracle.jdbc.OracleConnection" Instance from an 10.1.3 OAS Declared Datasource ?

(Doc ID 557063.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3
Information in this document applies to any platform.


In 10.1.3 OAS, related to Oracle JDBC driver, native and managed datasources can be defined.

After retrieving a  JDBC connection from those datasources, specifc Oracle JDBC driver extensions  might  be needed.
In this case, the oracle.jdbc.OracleConnection connection class has to be retrieved from  the defined datasources in order to use the Oracle JDBC driver extensions.

This note shows how to obtain a  oracle.jdbc.OracleConnection  instance from a declared OAS datasource.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms