src/main/java/com/tzavellas/poolng/ConnectionProcessor.java
void applyDefaults(Connection c, ConnectionDefaults defaults) throws SQLException {
		c.setAutoCommit(defaults.isDefaultAutocommit());
		if (defaults.getDefaultReadOnly() != null) {
			c.setReadOnly(defaults.getDefaultReadOnly());
		}
		if (defaults.getDefaultIsolation() != TxIsolation.UNDEFINED) {
			c.setTransactionIsolation(defaults.getDefaultIsolation().jdbcValue());
		}
		if (defaults.getDefaultCatalog() != null) {
			c.setCatalog(defaults.getDefaultCatalog());
		}
	}
/**
	 * Apply the default configuration settings to the specified JDBC connection.
	 * 
	 * <p>If an exception occurs then there is no guarantee that any of the settings
	 * got applied.
	 * 
	 * @throws SQLException if something goes wrong during the configuration.
	 */
Apply the default configuration settings to the specified JDBC connection.

If an exception occurs then there is no guarantee that any of the settings
got applied.

@throws SQLException if something goes wrong during the configuration.
Apply the default configuration settings to the specified JDBC connection . If an exception occurs then there is no guarantee that any of the settings got applied . @throws SQLException if something goes wrong during the configuration .
void applyDefaults(Connection c, ConnectionDefaults defaults) throws SQLException {
		c.setAutoCommit(defaults.isDefaultAutocommit());
		if (defaults.getDefaultReadOnly() != null) {
			c.setReadOnly(defaults.getDefaultReadOnly());
		}
		if (defaults.getDefaultIsolation() != TxIsolation.UNDEFINED) {
			c.setTransactionIsolation(defaults.getDefaultIsolation().jdbcValue());
		}
		if (defaults.getDefaultCatalog() != null) {
			c.setCatalog(defaults.getDefaultCatalog());
		}
	}
void applyDefaults ( Connection c , ConnectionDefaults defaults ) throws SQLException { c . setAutoCommit ( defaults . isDefaultAutocommit ( ) ) ; if ( defaults . getDefaultReadOnly ( ) != null ) { c . setReadOnly ( defaults . getDefaultReadOnly ( ) ) ; } if ( defaults . getDefaultIsolation ( ) != TxIsolation . UNDEFINED ) { c . setTransactionIsolation ( defaults . getDefaultIsolation ( ) . jdbcValue ( ) ) ; } if ( defaults . getDefaultCatalog ( ) != null ) { c . setCatalog ( defaults . getDefaultCatalog ( ) ) ; } }
Apply the default configuration settings to the specified JDBC connection.
Apply the default configuration settings to the specified JDBC connection .