| Constructor and Description |
|---|
PSQLSavepoint(int id) |
PSQLSavepoint(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPGName() |
int |
getSavepointId()
Retrieves the generated ID for the savepoint that this
Savepoint object represents. |
String |
getSavepointName()
Retrieves the name of the savepoint that this
Savepoint
object represents. |
void |
invalidate() |
public PSQLSavepoint(int id)
public PSQLSavepoint(String name)
public int getSavepointId()
throws SQLException
java.sql.SavepointSavepoint object represents.getSavepointId in interface SavepointSQLException - if this is a named savepointpublic String getSavepointName() throws SQLException
java.sql.SavepointSavepoint
object represents.getSavepointName in interface SavepointSQLException - if this is an un-named savepointpublic void invalidate()
public String getPGName() throws SQLException
SQLExceptionCopyright © 2018 PostgreSQL Global Development Group. All rights reserved.