Jean-Baptiste Onofré created BEAM-7041:
------------------------------------------

             Summary: JdbcIO should not wrap the provided datasource if it's 
already a pollable one
                 Key: BEAM-7041
                 URL: https://issues.apache.org/jira/browse/BEAM-7041
             Project: Beam
          Issue Type: Improvement
          Components: io-java-jdbc
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré


Currently, {{JdbcIO}} systematically wrap the provided {{DataSource}} as a DBCP 
Poolable DataSource (in the {{JdbcIO#buildDataSource()}}).
If the user provided DataSource is already a pollable datasource, it doesn't 
leverage the actual pool. The user should "control" if he wants a wrapped 
pollable datasource or directly the one he provides.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to