Package de.uplanet.lucy.server
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static de.uplanet.jdbc.JdbcConnectionget()CallsThreadContext.getDatabaseConnection().static de.uplanet.jdbc.JdbcConnectionget(String p_strConnectionId)CallsThreadContext.getDatabaseConnection().
-
-
-
Method Detail
-
get
public static de.uplanet.jdbc.JdbcConnection get()
CallsThreadContext.getDatabaseConnection().- Returns:
- The database connection.
-
get
public static de.uplanet.jdbc.JdbcConnection get(String p_strConnectionId)
CallsThreadContext.getDatabaseConnection().- Parameters:
p_strConnectionId- The connection identifier.- Returns:
- The database connection.
-
-