public final class SQLServerSavepoint extends Object implements Savepoint
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 and Description |
|---|
SQLServerSavepoint(SQLServerConnection con,
String sName)
Create a new savepoint
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Get the savepoint label
|
int |
getSavepointId() |
String |
getSavepointName() |
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
getSavepointName in interface SavepointSQLServerExceptionpublic String getLabel()
public boolean isNamed()
public int getSavepointId()
throws SQLServerException
getSavepointId in interface SavepointSQLServerExceptionCopyright © 2018 Microsoft Corporation. All rights reserved.