tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52804] New: Make PoolProperties implement Cloneable.
Date Thu, 01 Mar 2012 17:18:03 GMT
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


Mime
View raw message