Package org.h2.jdbc
Class JdbcSavepoint
java.lang.Object
org.h2.message.TraceObject
org.h2.jdbc.JdbcSavepoint
- All Implemented Interfaces:
Savepoint
A savepoint is a point inside a transaction to where a transaction can be
rolled back. The tasks that where done before the savepoint are not rolled
back in this case.
-
Field Summary
Fields inherited from class org.h2.message.TraceObject
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XID
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the generated id of this savepoint.Get the name of this savepoint.toString()
INTERNALMethods inherited from class org.h2.message.TraceObject
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
-
Method Details
-
getSavepointId
Get the generated id of this savepoint.- Specified by:
getSavepointId
in interfaceSavepoint
- Returns:
- the id
- Throws:
SQLException
-
getSavepointName
Get the name of this savepoint.- Specified by:
getSavepointName
in interfaceSavepoint
- Returns:
- the name
- Throws:
SQLException
-
toString
INTERNAL
-