commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu (JIRA)" <j...@apache.org>
Subject [jira] Created: (DBCP-259) defualtReadOnly not working in conncetion pooling
Date Fri, 01 Feb 2008 06:21:08 GMT
defualtReadOnly not working in conncetion pooling
-------------------------------------------------

                 Key: DBCP-259
                 URL: https://issues.apache.org/jira/browse/DBCP-259
             Project: Commons Dbcp
          Issue Type: Bug
    Affects Versions: 1.2.1
         Environment: commons-pool 1.2, jdk 1.4
            Reporter: Raghu


Hi All

I am trying to set up a connection pooling using Jakarta commons-dbcp 1.2.1....

When defaultReadOnly property is set to true and if my understanding is correct i would not
be able to perform update,insert or delete operations.

When i set defualtReadOnly as true in the constructor PoolableConnectionFactory which looks
like -

poolableConnectionFactory = new PoolableConnectionFactory(
                    connectionFactory, connectionPool, null,
                    "sql query", true, true);

But still i am able to perform the delete or insert opertations where i am expecting to throw
an excpetion.
Am i missing some thing or is ther anything fishy???

Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message