Occasional, Intermittent "java.sql.SQLException: Closed Statement" When Connection Shared Between Threads
(Doc ID 784343.1)
Last updated on SEPTEMBER 20, 2019
Applies to:JDBC - Version 22.214.171.124 to 126.96.36.199.0 [Release 11.1 to 12c]
Information in this document applies to any platform.
A multi-threaded, standalone Java application runs in a version 1.6 JVM and connects to a database using JDBC/Thin 188.8.131.52 ojdbc6.jar. This is also applicable to later versions.
Intermittently, queries from a particular method fail with:
Although the Connection object is shared between threads, the Statement object is specific to one thread.
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