FBSavepoint savepoint = new FBSavepoint(getNextSavepointCounter());
AbstractSavepoint savepoint = FBStatementFactory.createSavepoint(getNextSavepointCounter());
    public synchronized FirebirdSavepoint setFirebirdSavepoint() throws SQLException {        FBSavepoint savepoint = new FBSavepoint(getNextSavepointCounter());                setSavepoint(savepoint);                savepoints.addLast(savepoint);                return savepoint;    }