[ 
https://issues.apache.org/jira/browse/DBCP-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DBCP-474.
------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2

Thanks for the patch.

> 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
>             Fix For: 2.2
>
>         Attachments: Fixed-PoolingConnection-and-PStmtKey.patch
>
>
> 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)

Reply via email to