| Modifier and Type | Field and Description |
|---|---|
| private Calendar | cal
Calendar for data operations. |
| pack-priv final InternalDriver | factory
Factory for JDBC objects to be created. |
| private LanguageConnectionContext | lcc
Cached LanguageConnectionContext |
| pack-priv EmbedConnection |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| pack-priv final void | |
| pack-priv Calendar | |
| pack-priv final Object | |
| pack-priv final EmbedConnection | |
| pack-priv LanguageConnectionContext | getLanguageConnectionContext(final EmbedConnection conn)
Get and cache the LanguageConnectionContext for this connection. |
| pack-priv static LanguageConnectionContext | |
| pack-priv final SQLException | |
| pack-priv final void | |
| pack-priv static SQLException | |
| pack-priv final void | |
| protected static void | |
| pack-priv final void |
| cal | back to summary |
|---|---|
| private Calendar cal Calendar for data operations. | |
| factory | back to summary |
|---|---|
| pack-priv final InternalDriver factory Factory for JDBC objects to be created. | |
| lcc | back to summary |
|---|---|
| private LanguageConnectionContext lcc Cached LanguageConnectionContext | |
| localConn | back to summary |
|---|---|
| pack-priv EmbedConnection localConn | |
| ConnectionChild | back to summary |
|---|---|
| pack-priv ConnectionChild(EmbedConnection conn) | |
| commitIfAutoCommit | back to summary |
|---|---|
| pack-priv final void commitIfAutoCommit() throws SQLException Perform a commit if autocommit is enabled.
| |
| commitIfNeeded | back to summary |
|---|---|
| pack-priv final void commitIfNeeded() throws SQLException Perform a commit if one is needed.
| |
| getCal | back to summary |
|---|---|
| pack-priv Calendar getCal() Get and save a unique calendar object for this JDBC object. No need to synchronize because multiple threads should not be using a single JDBC object. Even if they do there is only a small window where each would get its own Calendar for a single call. | |
| getConnectionSynchronization | back to summary |
|---|---|
| pack-priv final Object getConnectionSynchronization() Return an object to be used for connection synchronization. | |
| getEmbedConnection | back to summary |
|---|---|
| pack-priv final EmbedConnection getEmbedConnection() Return a reference to the EmbedConnection | |
| getLanguageConnectionContext | back to summary |
|---|---|
| pack-priv LanguageConnectionContext getLanguageConnectionContext(final EmbedConnection conn) Get and cache the LanguageConnectionContext for this connection. | |
| getLCC | back to summary |
|---|---|
| pack-priv static LanguageConnectionContext getLCC(final EmbedConnection conn) Gets the LanguageConnectionContext for this connection. | |
| handleException | back to summary |
|---|---|
| pack-priv final SQLException handleException(Throwable t) throws SQLException Handle any exception.
| |
| needCommit | back to summary |
|---|---|
| pack-priv final void needCommit() If Autocommit is on, note that a commit is needed.
| |
| newSQLException | back to summary |
|---|---|
| pack-priv static SQLException newSQLException(String messageId, Object... args) | |
| restoreContextStack | back to summary |
|---|---|
| pack-priv final void restoreContextStack() throws SQLException Setup the context stack (a.k.a. context manager) for this connection.
| |
| restoreIntrFlagIfSeen | back to summary |
|---|---|
| protected static void restoreIntrFlagIfSeen(boolean pushStack, EmbedConnection ec) | |
| setupContextStack | back to summary |
|---|---|
| pack-priv final void setupContextStack() throws SQLException Setup the context stack (a.k.a. context manager) for this connection.
| |