|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
|
static java.lang.String[][] |
CS_TO_SQL_ISOLATION_MAP
|
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 | |
void |
beginStatement(ResultSet sourceRS)
Mark the beginning of a statement (INSERT, UPDATE, DELETE) |
void |
endStatement()
The end of a statement (INSERT, UPDATE, DELETE) |
ExecutionFactory |
getExecutionFactory()
Get the ExecutionFactory from this ExecutionContext. |
ResultSetFactory |
getResultSetFactory()
Get the ResultSetFactory from this ExecutionContext. |
ResultSetStatisticsFactory |
getResultSetStatisticsFactory()
Get the ResultSetStatisticsFactory from this ExecutionContext. |
java.lang.Object[] |
siftForeignKeys(java.lang.Object[] fullList)
Sifts the array of foreign key constraints for the ones which apply in the current context. |
java.lang.Object |
siftTriggers(java.lang.Object triggerInfo)
Sifts the triggers for the ones which apply in the current context. |
Methods inherited from interface org.apache.derby.iapi.services.context.Context |
cleanupOnError, getContextManager, getIdName, isLastHandler, popMe, pushMe |
Field Detail |
public static final java.lang.String CONTEXT_ID
public static final int UNSPECIFIED_ISOLATION_LEVEL
public static final int READ_UNCOMMITTED_ISOLATION_LEVEL
public static final int READ_COMMITTED_ISOLATION_LEVEL
public static final int REPEATABLE_READ_ISOLATION_LEVEL
public static final int SERIALIZABLE_ISOLATION_LEVEL
public static final int[] CS_TO_JDBC_ISOLATION_LEVEL_MAP
public static final java.lang.String[][] CS_TO_SQL_ISOLATION_MAP
Method Detail |
public ResultSetFactory getResultSetFactory()
public ResultSetStatisticsFactory getResultSetStatisticsFactory() throws StandardException
StandardException
- Thrown on errorpublic ExecutionFactory getExecutionFactory()
public void beginStatement(ResultSet sourceRS) throws StandardException
sourceRS
- Source ResultSet for the statement.
StandardException
- Thrown on errorpublic void endStatement() throws StandardException
StandardException
- Thrown on errorpublic java.lang.Object[] siftForeignKeys(java.lang.Object[] fullList) throws StandardException
fullList
- the full list of foreign keys that
apply for the current statement
StandardException
- Thrown on errorpublic java.lang.Object siftTriggers(java.lang.Object triggerInfo) throws StandardException
triggerInfo
- the original trigger info
StandardException
- Thrown on error
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |