Package org.apache.derby.iapi.sql.conn
Class ConnectionUtil
java.lang.Object
org.apache.derby.iapi.sql.conn.ConnectionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Context
getContextOrNull
(String contextID) Privileged lookup of a Context.static LanguageConnectionContext
Get the current LanguageConnectionContext.
-
Constructor Details
-
ConnectionUtil
public ConnectionUtil()
-
-
Method Details
-
getCurrentLCC
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
Privileged lookup of a Context. Must be private so that user code can't call this entry point.
-