https://bz.apache.org/bugzilla/show_bug.cgi?id=65932
Bug ID: 65932
Summary: PreparedStatement 'getConnection' returns physical
connection instead of pooled one
Product: Tomcat Modules
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: jdbc-pool
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
[NOT A CONTRIBUTION]
JDBC Pool Version: 9.0.49
Database: Oracle
JDBC Version: 19.3.0.0
OS: Mac, Linux
prepareStatement created by ProxyConnection returns underlying physical
connection not the PooledConnection.
Step to reproduce:
ConnectionPool pool = ...
Connection c = pool.getConnection();
PreparedStatement ps = c.createPreparedStatement();
assertTrue(c == ps.getConnection()) // return false
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]