My Oracle Support Banner

Upgrade To 18c Jdbc Driver Causes IO Error During Statement.cancel (Doc ID 2552022.1)

Last updated on NOVEMBER 09, 2021

Applies to:

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

Symptoms

While calling statement.cancel() with 18c or 12.2 JDBC drivers, it throws:

java.sql.SQLRecoverableException: IO Error

However, with Oracle JDBC 12.1, 11.2.0.4,  it throws :

SqlException ORA-01013: user requested cancel of current operation 


The user expects "ORA-01013: user requested cancel of current operation" to be returned like in the previous versions.

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.