commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DBCP-474) Prepared or Callable Statement are not cached in PoolingConnection.
Date Tue, 08 Nov 2016 15:14:58 GMT

     [ 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)

Mime
View raw message