de.uplanet.lucy.server
Class ContextConnection

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

@Scriptable
public final class ContextConnection
extends java.lang.Object

Helper class to get the thread context's database connection.

Version:
$Revision: 84700 $
See Also:
ThreadContext.getDatabaseConnection()

Method Summary
static de.uplanet.jdbc.JdbcConnection get()
          Calls ThreadContext.getDatabaseConnection().
static de.uplanet.jdbc.JdbcConnection get(java.lang.String p_strConnectionId)
          Calls ThreadContext.getDatabaseConnection().
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(java.lang.String p_strConnectionId)
Calls ThreadContext.getDatabaseConnection().

Parameters:
p_strConnectionId - The connection identifier.
Returns:
The database connection.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.