My Oracle Support Banner

JDBC Session Stays In The Database After The Java Program Was Canceled Using CTRL + C (Doc ID 1394687.1)

Last updated on AUGUST 01, 2024

Applies to:

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

Symptoms

ACTUAL BEHAVIOR

An application that is using JDBC Thin driver changes in behavior when it is migrated from 10g to 11g version.


EXPECTED BEHAVIOR

It is expected that using the 11g JDBC driver the CTRL + C closes the connection to the database, but also in the database the session is also closed.

STEPS



Running the testcase using the 10g driver and pressing the CTRL + C the connection and the session is closed in the database, but when using the 11g driver the session in the database keeps open.

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.