You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Wei Chen (JIRA)" <ji...@apache.org> on 2006/12/04 10:21:26 UTC

[jira] Created: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling

BasicDataSource doesn't include CallableStatement Pooling
---------------------------------------------------------

                 Key: DBCP-204
                 URL: http://issues.apache.org/jira/browse/DBCP-204
             Project: Commons Dbcp
          Issue Type: New Feature
         Environment: All
            Reporter: Wei Chen
            Priority: Minor


Hello =)

I had explored DBCP source code to cook for my project need recently.
As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
"Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well."

I am curious that why it does not support for pooling CallableStatement. 
Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DBCP-204?page=all ]

Phil Steitz updated DBCP-204:
-----------------------------

        Fix Version/s: 1.3
    Affects Version/s: 1.2.1

Patches welcome!

> BasicDataSource doesn't include CallableStatement Pooling
> ---------------------------------------------------------
>
>                 Key: DBCP-204
>                 URL: http://issues.apache.org/jira/browse/DBCP-204
>             Project: Commons Dbcp
>          Issue Type: New Feature
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Wei Chen
>            Priority: Minor
>             Fix For: 1.3
>
>
> Hello =)
> I had explored DBCP source code to cook for my project need recently.
> As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
> "Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well."
> I am curious that why it does not support for pooling CallableStatement. 
> Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling

Posted by "Wei Chen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DBCP-204?page=all ]

Wei Chen updated DBCP-204:
--------------------------

    Attachment: PoolingCallableStatment.patch

A implementation aim to pool CallableStatment as PreparedStatment.
Add a new class named "PoolableCallableStatement" and modify PoolingConnection to enable this future.

> BasicDataSource doesn't include CallableStatement Pooling
> ---------------------------------------------------------
>
>                 Key: DBCP-204
>                 URL: http://issues.apache.org/jira/browse/DBCP-204
>             Project: Commons Dbcp
>          Issue Type: New Feature
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Wei Chen
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: PoolingCallableStatment.patch
>
>
> Hello =)
> I had explored DBCP source code to cook for my project need recently.
> As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
> "Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well."
> I am curious that why it does not support for pooling CallableStatement. 
> Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling

Posted by "Wei Chen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DBCP-204?page=comments#action_12457631 ] 
            
Wei Chen commented on DBCP-204:
-------------------------------

hi, i had a rough implementation of this future which has not been fully tested yet. I'll consider to create a patch after the refinement. =)

> BasicDataSource doesn't include CallableStatement Pooling
> ---------------------------------------------------------
>
>                 Key: DBCP-204
>                 URL: http://issues.apache.org/jira/browse/DBCP-204
>             Project: Commons Dbcp
>          Issue Type: New Feature
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Wei Chen
>            Priority: Minor
>             Fix For: 1.3
>
>
> Hello =)
> I had explored DBCP source code to cook for my project need recently.
> As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
> "Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well."
> I am curious that why it does not support for pooling CallableStatement. 
> Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (DBCP-204) BasicDataSource doesn't include CallableStatement Pooling

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DBCP-204?page=comments#action_12459773 ] 
            
Phil Steitz commented on DBCP-204:
----------------------------------

Patch looks good.  Thanks!
We will want to add some test cases.


> BasicDataSource doesn't include CallableStatement Pooling
> ---------------------------------------------------------
>
>                 Key: DBCP-204
>                 URL: http://issues.apache.org/jira/browse/DBCP-204
>             Project: Commons Dbcp
>          Issue Type: New Feature
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Wei Chen
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: PoolingCallableStatment.patch
>
>
> Hello =)
> I had explored DBCP source code to cook for my project need recently.
> As it's said that the Database Connection Pool (DBCP) component can be used in applications where JDBC resources need to be pooled. 
> "Apart from JDBC connections, this provides support for pooling Statement and PreparedStatement instances as well."
> I am curious that why it does not support for pooling CallableStatement. 
> Does anybody know why the developer did not implement this furture?Are there some special consideration or some reason else?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org