src/main/java/com/tzavellas/poolng/ConnectionProcessor.java
boolean reset(Connection c) {
		boolean successfulReset = true;
		try {
			c.clearWarnings();
		} catch  (SQLException e) {
			successfulReset = false;
			log.warn("Could not clean the warnings from JDBC connection [" + c + "]");
		}
		try {
			if (! c.getAutoCommit()) {
				c.rollback();
			}
		} catch  (SQLException e) {
			successfulReset = false;
			log.warn("JDBC connection had autocommit false but we could not get it to rollback [" + c + "]");
		}
		return successfulReset;
	}
/**
	 * Resets the specified connection.
	 * 
	 * The warnings are cleared and if the {@code Connections} has {@code autoCommit == false }
	 * it also gets roll-backed;
	 * 
	 * @return {@code true} if no errors occurred, else {@code false}.
	 */
Resets the specified connection.

The warnings are cleared and if the  Connections has  autoCommit == false
it also gets roll-backed.

@return  true if no errors occurred, else  false.
Resets the specified connection . The warnings are cleared and if the Connections has autoCommit == false it also gets roll - backed . @return true if no errors occurred else false .
boolean reset(Connection c) {
		boolean successfulReset = true;
		try {
			c.clearWarnings();
		} catch  (SQLException e) {
			successfulReset = false;
			log.warn("Could not clean the warnings from JDBC connection [" + c + "]");
		}
		try {
			if (! c.getAutoCommit()) {
				c.rollback();
			}
		} catch  (SQLException e) {
			successfulReset = false;
			log.warn("JDBC connection had autocommit false but we could not get it to rollback [" + c + "]");
		}
		return successfulReset;
	}
boolean reset ( Connection c ) { boolean successfulReset = true ; try { c . clearWarnings ( ) ; } catch ( SQLException e ) { successfulReset = false ; log . warn ( "Could not clean the warnings from JDBC connection [" + c + "]" ) ; } try { if ( ! c . getAutoCommit ( ) ) { c . rollback ( ) ; } } catch ( SQLException e ) { successfulReset = false ; log . warn ( "JDBC connection had autocommit false but we could not get it to rollback [" + c + "]" ) ; } return successfulReset ; }
Resets the specified connection.
Resets the specified connection .