Restore autocommit flag in DBApi.withTransaction() method call
DBApi.getDataSourceURL() now using withConnection() for automatic resource management

Fix bug related to getting connection in getDataSourceURL

No need to get connection from datasource its already provided by withConnecion() block

Wrap with try/catch setAutoCommit() call

Wrap with try/catch setAutoCommit() method call to avoid throwing exception from finally block