Hi, When we write JDBC code, is it okay if we depend on auto commit in the connection we get from the DataSource?
The JDBC Reporter for Metrics [1] depends on auto commit "true" value set in the DataSource configuration. The JDBC reporter doesn't have any complex transactions and I thought it should be okay to depend on auto commit. WDYT? Thanks! Best Regards, [1] https://github.com/wso2/carbon-metrics/blob/v1.1.1/components/org.wso2.carbon.metrics.jdbc.reporter/src/main/java/org/wso2/carbon/metrics/reporter/JDBCReporter.java#L233-L258 -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
