How to Disable Query Change Notification from within Java code (Doc ID 2072621.1)

Last updated on JUNE 23, 2017

Applies to:

JDBC - Version 11.2.0.1.0 and later
Information in this document applies to any platform.

Goal

Memory Corruption Errors (e.g. ORA-00600 [17182]/[17147]/[17114] etc.) from Java Clients Using Query Change Notification (Doc ID 1673541.1) suggests the following step as workaround:

Disable the use of Query Change Notification in the Java client connections by setting the DCN_QUERY_CHANGE_NOTIFICATION property to false, e.g.:
prop.setProperty(OracleConnection.DCN_QUERY_CHANGE_NOTIFICATION,"false")

How to accomplish this from within the Java application code?
 

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