You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "KeiichiFujino (JIRA)" <ji...@apache.org> on 2016/11/07 09:16:58 UTC

[jira] [Created] (DBCP-474) Prepared or Callable Statement are not cached in PoolingConnection.

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)