commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KeiichiFujino (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-474) Prepared or Callable Statement are not cached in PoolingConnection.
Date Mon, 07 Nov 2016 09:16:58 GMT
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)

Mime
View raw message