private void setTransactionSavePoint(String savePoint) {
    if (savePoint != null) {
      ExecutionContext ec = ((JDOPersistenceManager) pm).getExecutionContext();
      ec.getStoreManager().getConnectionManager().getConnection(ec);
      ((JDOTransaction) currentTransaction).setSavepoint(savePoint);
    }
  }
Rolls back the current transaction if it is active
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java