EmbedBlob, EmbedClob, EmbedDatabaseMetaData, EmbedResultSet, EmbedSavepoint, EmbedStatementabstract class ConnectionChild
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
private java.util.Calendar |
cal |
Calendar for data operations.
|
(package private) InternalDriver |
factory |
Factory for JDBC objects to be created.
|
private LanguageConnectionContext |
lcc |
Cached LanguageConnectionContext
|
(package private) EmbedConnection |
localConn |
| Constructor | Description |
|---|---|
ConnectionChild(EmbedConnection conn) |
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
commitIfAutoCommit() |
Perform a commit if autocommit is enabled.
|
(package private) void |
commitIfNeeded() |
Perform a commit if one is needed.
|
(package private) java.util.Calendar |
getCal() |
Get and save a unique calendar object for this JDBC object.
|
(package private) java.lang.Object |
getConnectionSynchronization() |
Return an object to be used for connection
synchronization.
|
(package private) EmbedConnection |
getEmbedConnection() |
Return a reference to the EmbedConnection
|
(package private) LanguageConnectionContext |
getLanguageConnectionContext(EmbedConnection conn) |
Get and cache the LanguageConnectionContext for this connection.
|
(package private) static LanguageConnectionContext |
getLCC(EmbedConnection conn) |
Gets the LanguageConnectionContext for this connection.
|
(package private) java.sql.SQLException |
handleException(java.lang.Throwable t) |
Handle any exception.
|
(package private) void |
needCommit() |
If Autocommit is on, note that a commit is needed.
|
(package private) static java.sql.SQLException |
newSQLException(java.lang.String messageId,
java.lang.Object... args) |
|
(package private) void |
restoreContextStack() |
Setup the context stack (a.k.a. context manager)
for this connection.
|
protected static void |
restoreIntrFlagIfSeen(boolean pushStack,
EmbedConnection ec) |
|
(package private) void |
setupContextStack() |
Setup the context stack (a.k.a. context manager)
for this connection.
|
EmbedConnection localConn
private LanguageConnectionContext lcc
final InternalDriver factory
private java.util.Calendar cal
ConnectionChild(EmbedConnection conn)
final EmbedConnection getEmbedConnection()
final java.lang.Object getConnectionSynchronization()
final java.sql.SQLException handleException(java.lang.Throwable t)
throws java.sql.SQLException
java.sql.SQLException - thrown if can't handleEmbedConnection.handleException(java.lang.Throwable)final void needCommit()
EmbedConnection.needCommitfinal void commitIfNeeded()
throws java.sql.SQLException
java.sql.SQLException - thrown on failureEmbedConnection.commitIfNeeded()final void commitIfAutoCommit()
throws java.sql.SQLException
java.sql.SQLException - thrown on failureEmbedConnection.commitIfNeeded()final void setupContextStack()
throws java.sql.SQLException
java.sql.SQLException - thrown on failureEmbedConnection.setupContextStack()final void restoreContextStack()
throws java.sql.SQLException
java.sql.SQLException - thrown on failureEmbedConnection.restoreContextStack()java.util.Calendar getCal()
static java.sql.SQLException newSQLException(java.lang.String messageId,
java.lang.Object... args)
protected static void restoreIntrFlagIfSeen(boolean pushStack,
EmbedConnection ec)
LanguageConnectionContext getLanguageConnectionContext(EmbedConnection conn)
static LanguageConnectionContext getLCC(EmbedConnection conn)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.