Examples of languageSetSavePoint()


Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.languageSetSavePoint()

        throw StandardException.newException(SQLState.NO_SAVEPOINT_IN_TRIGGER);

    if (savepointStatementType == 1) { //this is set savepoint
      if (savepointName.startsWith("SYS")) //to enforce DB2 restriction which is savepoint name can't start with SYS
        throw StandardException.newException(SQLState.INVALID_SCHEMA_SYS, "SYS");
      lcc.languageSetSavePoint(savepointName, savepointName);
    } else if (savepointStatementType == 2) { //this is rollback savepoint
      lcc.internalRollbackToSavepoint(savepointName,true, savepointName);
    } else { //this is release savepoint
      lcc.releaseSavePoint(savepointName, savepointName);
    }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.languageSetSavePoint()

        throw StandardException.newException(SQLState.NO_SAVEPOINT_IN_TRIGGER);

    if (savepointStatementType == 1) { //this is set savepoint
      if (savepointName.startsWith("SYS")) //to enforce DB2 restriction which is savepoint name can't start with SYS
        throw StandardException.newException(SQLState.INVALID_SCHEMA_SYS, "SYS");
      lcc.languageSetSavePoint(savepointName, savepointName);
    } else if (savepointStatementType == 2) { //this is rollback savepoint
      lcc.internalRollbackToSavepoint(savepointName,true, savepointName);
    } else { //this is release savepoint
      lcc.releaseSavePoint(savepointName, savepointName);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.