ISQLServerSavepoint, Savepointpublic final class SQLServerSavepoint extends Object implements ISQLServerSavepoint
The API javadoc for JDBC API methods that this class implements are not repeated here. Please see Sun's JDBC API interfaces javadoc for those details.
| Constructor | Description |
|---|---|
SQLServerSavepoint(SQLServerConnection con,
String sName) |
Create a new savepoint
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getLabel() |
Get the savepoint label
|
int |
getSavepointId() |
|
String |
getSavepointName() |
Get the savepoint name
|
boolean |
isNamed() |
Checks if the savepoint label is null
|
public SQLServerSavepoint(SQLServerConnection con, String sName)
con - the connectionsName - the savepoint namepublic String getSavepointName() throws SQLServerException
ISQLServerSavepointgetSavepointName in interface ISQLServerSavepointgetSavepointName in interface SavepointSQLServerExceptionpublic String getLabel()
ISQLServerSavepointgetLabel in interface ISQLServerSavepointpublic boolean isNamed()
ISQLServerSavepointisNamed in interface ISQLServerSavepointpublic int getSavepointId()
throws SQLServerException
getSavepointId in interface SavepointSQLServerExceptionCopyright © 2018 Microsoft Corporation. All rights reserved.