Class ConnectionUtil

java.lang.Object
org.apache.derby.iapi.sql.conn.ConnectionUtil

public class ConnectionUtil extends Object
  • Constructor Details

    • ConnectionUtil

      public ConnectionUtil()
  • Method Details

    • getCurrentLCC

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

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