My Oracle Support Banner

The Oracle JDBC setApplicationContext () Method is not Available (Doc ID 812945.1)

Last updated on FEBRUARY 11, 2022

Applies to:

JDBC - Version 11.1.0.7 to 11.2.0.1.0 [Release 11.1 to 11.2]
Information in this document applies to any platform.
This problem can occur on any platform.


Symptoms

As it is described  in

Oracle® Database Security Guide 11g Release 1 (11.1)
Part Number B28531-06
chapter 6 - Using Application Contexts to Retrieve User Information

there is a method, in  JDBC API , which allows to set a value in the client context name space:

For JDBC, use a command of the following form:

public void setApplicationContext( string CLIENTCONTEXT, string attribute, string value)
throws SQLException;

In this specification:
  • -attribute: Represents the attribute whose value must be set.
  • -value: Represents the value to be assigned to the attribute.


The problem is that the setApplicationContext()  method is not available in the JDBC API.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.