My Oracle Support Banner

How to Get "oracle.jdbc.OracleConnection" Instance from an 10.1.3 OAS Declared Datasource ? (Doc ID 557063.1)

Last updated on AUGUST 10, 2018

Applies to:

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

Goal

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.

Solution

To view full details, 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 a vibrant support community of peers and Oracle experts.