Class ContextConnection


  • @Scriptable
    public final class ContextConnection
    extends Object
    Helper class to get the thread context's database connection.
    See Also:
    ThreadContext.getDatabaseConnection()
    • Method Detail

      • get

        public static de.uplanet.jdbc.JdbcConnection get()
        Calls ThreadContext.getDatabaseConnection().
        Returns:
        The database connection.
      • get

        public static de.uplanet.jdbc.JdbcConnection get​(String p_strConnectionId)
        Calls ThreadContext.getDatabaseConnection().
        Parameters:
        p_strConnectionId - The connection identifier.
        Returns:
        The database connection.