commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyohei Nakamura (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-455) Even if the cacheState is false, the getAutoCommit and isReadOnly method always return cached value
Date Tue, 15 Mar 2016 05:51:33 GMT
Kyohei Nakamura created DBCP-455:
------------------------------------

             Summary: Even if the cacheState is false, the getAutoCommit and isReadOnly method
always return cached value
                 Key: DBCP-455
                 URL: https://issues.apache.org/jira/browse/DBCP-455
             Project: Commons Dbcp
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Kyohei Nakamura
            Priority: Minor


Even if the cacheState is false, the getAutoCommit and isReadOnly method always return cached
value when the poolPreparedStatements is false.

In my analytics, the cacheState is set to the PoolingConnection but is not set to the PoolableConnetcion.
Therefore, the PoolableConnetcion always enable caching.

The PoolableConnetcion should be set the cacheState.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message