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 Savepoint
SQLServerException
public String getLabel()
public boolean isNamed()
public int getSavepointId() throws SQLServerException
getSavepointId
in interface Savepoint
SQLServerException
Copyright © 2017 Microsoft Corporation. All rights reserved.