Class ConnectionChild

    • Method Detail

      • getEmbedConnection

        final EmbedConnection getEmbedConnection()
        Return a reference to the EmbedConnection
      • getConnectionSynchronization

        final java.lang.Object getConnectionSynchronization()
        Return an object to be used for connection synchronization.
      • commitIfNeeded

        final void commitIfNeeded()
                           throws java.sql.SQLException
        Perform a commit if one is needed.
        Throws:
        java.sql.SQLException - thrown on failure
        See Also:
        EmbedConnection.commitIfNeeded()
      • commitIfAutoCommit

        final void commitIfAutoCommit()
                               throws java.sql.SQLException
        Perform a commit if autocommit is enabled.
        Throws:
        java.sql.SQLException - thrown on failure
        See Also:
        EmbedConnection.commitIfNeeded()
      • setupContextStack

        final void setupContextStack()
                              throws java.sql.SQLException
        Setup the context stack (a.k.a. context manager) for this connection.
        Throws:
        java.sql.SQLException - thrown on failure
        See Also:
        EmbedConnection.setupContextStack()
      • restoreContextStack

        final void restoreContextStack()
                                throws java.sql.SQLException
        Setup the context stack (a.k.a. context manager) for this connection.
        Throws:
        java.sql.SQLException - thrown on failure
        See Also:
        EmbedConnection.restoreContextStack()
      • getCal

        java.util.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.
      • newSQLException

        static java.sql.SQLException newSQLException​(java.lang.String messageId,
                                                     java.lang.Object... args)
      • restoreIntrFlagIfSeen

        protected static void restoreIntrFlagIfSeen​(boolean pushStack,
                                                    EmbedConnection ec)