final class EmbedSavepoint extends ConnectionChild implements java.sql.Savepoint
Supports
Savepoint| Modifier and Type | Field and Description |
|---|---|
private int |
savepointID |
private java.lang.String |
savepointName |
factory, localConn| Constructor and Description |
|---|
EmbedSavepoint(EmbedConnection conn,
java.lang.String name) |
| Modifier and Type | Method and 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, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, restoreIntrFlagIfSeen, setupContextStackprivate final java.lang.String savepointName
private final int savepointID
EmbedSavepoint(EmbedConnection conn, java.lang.String name) throws StandardException
StandardExceptionpublic int getSavepointId()
throws java.sql.SQLException
getSavepointId in interface java.sql.Savepointjava.sql.SQLException - if this is a named savepointpublic java.lang.String getSavepointName()
throws java.sql.SQLException
getSavepointName in interface java.sql.Savepointjava.sql.SQLException - if this is an un-named savepointjava.lang.String getInternalName()
boolean sameConnection(EmbedConnection con)
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.