code: public void rollback(final Savepoint savepoint) throws SQLException {
      try (Statement st = createStatement()) {
        st.execute("ROLLBACK TO SAVEPOINT " + savepoint.toString());
      }
    }
docs: <p>Undoes all changes made after the given <code>Savepoint</code> object was set.</p>
  <p>This method should be used only when auto-commit has been disabled.</p>
  
  @param savepoint the <code>Savepoint</code> object to roll back to
  @throws SQLException                    if a database access error occurs, this method is
  called while participating in a distributed
  transaction, this method is called on a closed
  connection, the
  <code>Savepoint</code> object is no longer valid, or
  this <code>Connection</code> object is currently in
  auto-commit mode
  @see Savepoint
  @see #rollback