Code example for Connection

Methods: getAutoCommitsetTransactionIsolation

0
	@Override 
	@SuppressWarnings("UnnecessaryUnboxing") 
	public Connection getConnection() throws SQLException {
		final Connection c = ds.getConnection();
		if ( isolation != null ) {
			c.setTransactionIsolation( isolation.intValue() );
		} 
		if ( c.getAutoCommit() != autocommit ) {
			c.setAutoCommit( autocommit );
		} 
		return c;
	} 
 
	@Override 
	public void closeConnection(Connection conn) throws SQLException {
		conn.close();
	} 
 
	@Override 
	public boolean isUnwrappableAs(Class unwrapType) {
Connect your IDE to all the code out there  Get Codota for Java