java.sql.Savepoint
final class EmbedSavepoint extends ConnectionChild implements java.sql.Savepoint
Supports
Savepoint
Modifier and Type | Field | Description |
---|---|---|
private int |
savepointID |
|
private java.lang.String |
savepointName |
factory, localConn
Constructor | Description |
---|---|
EmbedSavepoint(EmbedConnection conn,
java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
(package private) java.lang.String |
getInternalName() |
|
int |
getSavepointId() |
Retrieves the generated ID for the savepoint that this Savepoint object
represents.
|
java.lang.String |
getSavepointName() |
Retrieves the name of the savepoint that this Savepoint object
represents.
|
(package private) boolean |
sameConnection(EmbedConnection con) |
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getEmbedConnection, getLanguageConnectionContext, getLCC, handleException, needCommit, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStack
private final java.lang.String savepointName
private final int savepointID
EmbedSavepoint(EmbedConnection conn, java.lang.String name) throws StandardException
StandardException
public int getSavepointId() throws java.sql.SQLException
getSavepointId
in interface java.sql.Savepoint
java.sql.SQLException
- if this is a named savepointpublic java.lang.String getSavepointName() throws java.sql.SQLException
getSavepointName
in interface java.sql.Savepoint
java.sql.SQLException
- if this is an un-named savepointjava.lang.String getInternalName()
boolean sameConnection(EmbedConnection con)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.