public static void rollback(Connection conn) throws SQLException {
  if (conn != null) {
    conn.rollback();
  }
}

public static void rollback ( Connection conn ) throws SQLException { if ( conn != null ) { conn . rollback ( ) ; } }
rollback any changes made on the given connection .
