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.Savepoint
Savepoint
object represents.getSavepointId
in interface Savepoint
SQLException
- if this is a named savepointpublic String getSavepointName() throws SQLException
java.sql.Savepoint
Savepoint
object represents.getSavepointName
in interface Savepoint
SQLException
- if this is an un-named savepointpublic void invalidate()
public String getPGName() throws SQLException
SQLException
Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.