KeiichiFujino created DBCP-474:
----------------------------------
Summary: Prepared or Callable Statement are not cached in
PoolingConnection.
Key: DBCP-474
URL: https://issues.apache.org/jira/browse/DBCP-474
Project: Commons Dbcp
Issue Type: Bug
Affects Versions: 2.1.1
Reporter: KeiichiFujino
Priority: Minor
In PoolingConnection, the following methods are not defined.
-prepareStatement(String sql, int[] columnIndexes)
-prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int
resultSetHoldability)
-prepareStatement(String sql, String[] columnNames)
-prepareCall(String sql, int resultSetType, int resultSetConcurrency, int
resultSetHoldability)
Therefore, when calling these methods, we can not cache statements.
I fixed PoolingConnection and PStmtKey in order to cache all of Prepared and
Callable Statement.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)