org.apache.derby.iapi.sql.execute
Interface ExecutionContext

All Superinterfaces:
Context
All Known Implementing Classes:
GenericExecutionContext

public interface ExecutionContext
extends Context

ExecutionContext stores the factories that are to be used by the current connection. It also provides execution services for statement atomicity.


Field Summary
static java.lang.String CONTEXT_ID
          this is the ID we expect execution contexts to be stored into a context manager under.
static int[] CS_TO_JDBC_ISOLATION_LEVEL_MAP
          Map from Derby transaction isolation constants to JDBC constants.
static java.lang.String[][] CS_TO_SQL_ISOLATION_MAP
          Map from Derby transaction isolation constants to text values used in SQL.
static int READ_COMMITTED_ISOLATION_LEVEL
           
static int READ_UNCOMMITTED_ISOLATION_LEVEL
           
static int REPEATABLE_READ_ISOLATION_LEVEL
           
static int SERIALIZABLE_ISOLATION_LEVEL
           
static int UNSPECIFIED_ISOLATION_LEVEL
           
 
Method Summary
 ExecutionFactory getExecutionFactory()
          Get the ExecutionFactory from this ExecutionContext.
 
Methods inherited from interface org.apache.derby.iapi.services.context.Context
cleanupOnError, getContextManager, getIdName, isLastHandler, popMe, pushMe
 

Field Detail

CONTEXT_ID

static final java.lang.String CONTEXT_ID
this is the ID we expect execution contexts to be stored into a context manager under.

See Also:
Constant Field Values

UNSPECIFIED_ISOLATION_LEVEL

static final int UNSPECIFIED_ISOLATION_LEVEL
See Also:
Constant Field Values

READ_UNCOMMITTED_ISOLATION_LEVEL

static final int READ_UNCOMMITTED_ISOLATION_LEVEL
See Also:
Constant Field Values

READ_COMMITTED_ISOLATION_LEVEL

static final int READ_COMMITTED_ISOLATION_LEVEL
See Also:
Constant Field Values

REPEATABLE_READ_ISOLATION_LEVEL

static final int REPEATABLE_READ_ISOLATION_LEVEL
See Also:
Constant Field Values

SERIALIZABLE_ISOLATION_LEVEL

static final int SERIALIZABLE_ISOLATION_LEVEL
See Also:
Constant Field Values

CS_TO_JDBC_ISOLATION_LEVEL_MAP

static final int[] CS_TO_JDBC_ISOLATION_LEVEL_MAP
Map from Derby transaction isolation constants to JDBC constants.


CS_TO_SQL_ISOLATION_MAP

static final java.lang.String[][] CS_TO_SQL_ISOLATION_MAP
Map from Derby transaction isolation constants to text values used in SQL. Note that the text "REPEATABLE READ" or "RR" maps to SERIALIZABLE_ISOLATION_LEVEL as a hang over from DB2 compatibility and now to preserve backwards compatability.

Method Detail

getExecutionFactory

ExecutionFactory getExecutionFactory()
Get the ExecutionFactory from this ExecutionContext.

Returns:
The Execution factory associated with this ExecutionContext

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.