You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Navis Ryu (JIRA)" <ji...@apache.org> on 2008/02/09 10:48:07 UTC

[jira] Created: (DBCP-261) How can I use custom object pool?

How can I use custom object pool?
---------------------------------

                 Key: DBCP-261
                 URL: https://issues.apache.org/jira/browse/DBCP-261
             Project: Commons Dbcp
          Issue Type: New Feature
            Reporter: Navis Ryu


need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".

thanks

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


[jira] Updated: (DBCP-261) How can I use custom object pool?

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DBCP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz updated DBCP-261:
-----------------------------

    Fix Version/s: 1.4

This requires changes to both pool and dbcp, or for dbcp to decouple from pool, to support fully.

> How can I use custom object pool?
> ---------------------------------
>
>                 Key: DBCP-261
>                 URL: https://issues.apache.org/jira/browse/DBCP-261
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Navis Ryu
>             Fix For: 1.4
>
>
> need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".
> thanks

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


[jira] Commented: (DBCP-261) How can I use custom object pool?

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DBCP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572007#action_12572007 ] 

Phil Steitz commented on DBCP-261:
----------------------------------

This is tricky, since BasicDataSource uses the configuration and control properties defined in o.a.c.pool.impl.GenericObjectPool.  I am open to discussing ways to do this cleanly, but do not want to add pool interfaces to DBCP (i.e., the approach of creating an interface extending ObjectPool to include GOP properties and adding this to DBCP is not acceptable).

> How can I use custom object pool?
> ---------------------------------
>
>                 Key: DBCP-261
>                 URL: https://issues.apache.org/jira/browse/DBCP-261
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Navis Ryu
>
> need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".
> thanks

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


[jira] Commented: (DBCP-261) How can I use custom object pool?

Posted by "Navis Ryu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DBCP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572004#action_12572004 ] 

Navis Ryu commented on DBCP-261:
--------------------------------

I should revise the issue.

"need some injection point of custom implementation in org.apache.commons.dbcp.BasicDataSource"

> How can I use custom object pool?
> ---------------------------------
>
>                 Key: DBCP-261
>                 URL: https://issues.apache.org/jira/browse/DBCP-261
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Navis Ryu
>
> need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".
> thanks

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


[jira] Updated: (DBCP-261) How can I use custom object pool?

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DBCP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz updated DBCP-261:
-----------------------------

    Fix Version/s:     (was: 1.4)
                   2.0

> How can I use custom object pool?
> ---------------------------------
>
>                 Key: DBCP-261
>                 URL: https://issues.apache.org/jira/browse/DBCP-261
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Navis Ryu
>             Fix For: 2.0
>
>
> need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".
> thanks

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


[jira] Commented: (DBCP-261) How can I use custom object pool?

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DBCP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567329#action_12567329 ] 

Phil Steitz commented on DBCP-261:
----------------------------------

o.a.c.dbcp.PoolingDataSource can be instantiated with a o.a.c.pool.ObjectPool instance, so if your object pool implements that interface, it should work.

> How can I use custom object pool?
> ---------------------------------
>
>                 Key: DBCP-261
>                 URL: https://issues.apache.org/jira/browse/DBCP-261
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Navis Ryu
>
> need some injection point of custom implementation replacing pathetically inefficient "org.apache.commons.pool.impl.GenericObjectPool".
> thanks

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