You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/03/01 18:18:03 UTC

DO NOT REPLY [Bug 52804] New: Make PoolProperties implement Cloneable.

https://issues.apache.org/bugzilla/show_bug.cgi?id=52804

             Bug #: 52804
           Summary: Make PoolProperties implement Cloneable.
           Product: Tomcat Modules
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: colin.mcfarlane@incito.co.uk
    Classification: Unclassified


It would be very useful to have the PoolProperties class implement the
java.lang.Cloneable interface. 

We have many databases that share the same schema, username, password,
configuration etc but differ only in their URL. Implementing a routing
datasource based on something like
org.springframework.jdbc.datasource.AbstractDataSource can then just clone a
PoolProperties object and set the one or two properties that differ in the
clone. In a spring project the properties that are common across all the
datasources are only supplied once.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 52804] Make PoolProperties implement Cloneable.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52804

Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Filip Hanik <fh...@apache.org> 2012-03-01 20:20:38 UTC ---
Fixed in trunk in r1295768
Fixed in 7.0.x in r1295770

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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