https://bz.apache.org/bugzilla/show_bug.cgi?id=61103
Bug ID: 61103
Summary: StatementCache potentially returning incorrect
statement
Product: Tomcat Modules
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: jdbc-pool
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
See <https://issues.apache.org/jira/browse/OAK-6237>.
It seems that StatementCache under certain circumstances returns an incorrect
statement, causing setString on index 1 to fail with:
com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][10145][10844][4.16.53]
Invalid parameter 1: Parameter index is out of range. ERRORCODE=-4461,
SQLSTATE=42815
Note:
- currently cleanly reproducible with jackrabbit oak trunk (and release
branches)
- happens only for DB2 it seems
- disabling the StatementCache interceptor fixes the problem
- Oak currently uses 7.0.75, but the same problem happens with 7.0.77
--
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]