Class ConnectionUtil


  • public class ConnectionUtil
    extends java.lang.Object
    • Constructor Detail

      • ConnectionUtil

        public ConnectionUtil()
    • Method Detail

      • getCurrentLCC

        public static LanguageConnectionContext getCurrentLCC()
                                                       throws java.sql.SQLException
        Get the current LanguageConnectionContext. Used by public api code that needs to ensure it is in the context of a SQL connection.
        Throws:
        java.sql.SQLException - Caller is not in the context of a connection.
      • getContextOrNull

        private static Context getContextOrNull​(java.lang.String contextID)
        Privileged lookup of a Context. Must be private so that user code can't call this entry point.