com.caucho.jdbc
Class ConnectionContext

java.lang.Object
  extended by com.caucho.jdbc.ConnectionContext

public class ConnectionContext
extends java.lang.Object

Abstract way of grabbing data from the JDBC connection.


Constructor Summary
ConnectionContext()
           
 
Method Summary
static void begin(java.lang.String jndiName)
           
static void end(java.lang.String jdbcName)
           
static java.sql.Connection getConnection(java.lang.String jndiName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionContext

public ConnectionContext()
Method Detail

begin

public static void begin(java.lang.String jndiName)

getConnection

public static java.sql.Connection getConnection(java.lang.String jndiName)
                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

end

public static void end(java.lang.String jdbcName)