code: static void rollback(Connection connection) {
          if (connection != null)
              try {
                  connection.rollback();
                  log.debug("rolled back");
              } catch (SQLException e) {
                  throw new SQLRuntimeException(e);
              }
      }
docs: Rolls back a {@link Connection} and logs exceptions without throwing.
  
  @param connection