Improve JDBC configuration