Class ContextConnection

java.lang.Object
de.uplanet.lucy.server.ContextConnection

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

    Modifier and Type
    Method
    Description
    static de.uplanet.jdbc.JdbcConnection
    get()
    Calls ThreadContext.getDatabaseConnection().
    static de.uplanet.jdbc.JdbcConnection
    get(String p_strConnectionId)
    Calls ThreadContext.getDatabaseConnection().

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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.