Here you can find the source of rollback(Savepoint sp)
public static void rollback(Savepoint sp)
//package com.java2s; //License from project: Open Source License import java.sql.Connection; import java.sql.Savepoint; public class Main { private static Connection h2Connection; public static void rollback(Savepoint sp) { try {/* w w w.ja v a 2s.c o m*/ h2Connection.rollback(sp); } catch (Exception e) { throw new RuntimeException("DB error on rollback: " + e.toString()); } } }