How to Retrieve the Schema Name From a JDBC Connection Object (Doc ID 1528616.1)

Last updated on AUGUST 03, 2016

Applies to:

JDBC - Version 11.1.0.6 to 11.2.0.3.0 [Release 11.1 to 11.2]
Information in this document applies to any platform.

Goal

When using the 11g JDBC driver to connect to an Oracle database, how do you retrieve the schema to which the application is connected?

Solution

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