public class EJBQLCallQueryMechanism extends ExpressionQueryMechanism
Purpose: Mechanism used for EJBQL.
Responsibilities: Executes the appropriate call.
| Modifier and Type | Field and Description |
|---|---|
protected EJBQLCall |
ejbqlCall |
selectionCriteriasqlStatement, sqlStatementscall, callsquery| Constructor and Description |
|---|
EJBQLCallQueryMechanism(DatabaseQuery query)
Initialize the state of the query
|
EJBQLCallQueryMechanism(DatabaseQuery query,
EJBQLCall call)
INTERNAL
Initialize the state of the query
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildSelectionCriteria(AbstractSession newSession)
Internal:
In the case of EJBQL, an expression needs to be generated, and the query populated.
|
java.lang.Object |
clone()
Clone the mechanism
|
EJBQLCall |
getEJBQLCall() |
boolean |
isEJBQLCallQueryMechanism()
Delete a collection of objects
This should be overriden by subclasses.
|
void |
prepareForExecution()
All the query mechanism related things are initialized here.
|
void |
setEJBQLCall(EJBQLCall newEJBQLCall) |
aliasFields, aliasPresetFields, buildBaseSelectionCriteria, buildBaseSelectStatement, buildConcreteSelectStatement, buildDeleteAllStatement, buildDeleteAllStatementForMapping, buildDeleteAllStatementsForMappings, buildDeleteAllStatementsForMappingsWithTempTable, buildDeleteStatement, buildDeleteStatementForDeleteAllQuery, buildDeleteStatementForDeleteAllQuery, buildInsertStatement, buildNormalSelectStatement, buildReportQuerySelectStatement, buildReportQuerySelectStatement, buildSelectStatementForDoesExist, buildStatementsForDeleteAllForTempTables, buildStatementsForUpdateAllForTempTables, buildUpdateAllStatement, buildUpdateAllStatementForOracleAnonymousBlock, buildUpdateStatement, checkCacheForObject, clone, computeAndSetItemOffset, createSQLSelectStatementForAssignedExpressionForUpdateAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAllForTempTable, createSQLSelectStatementForUpdateAllForOracleAnonymousBlock, extractStatementFromItem, getAliasTableName, getExpressionBuilder, getHighestDescriptorMappingTable, getNonSelectionFields, getPrimaryKeyFieldsForTable, getPrimaryKeyFieldsForTable, getSelectionCriteria, getSelectionFields, isExpressionQueryMechanism, isStatementQueryMechanism, prepare, prepareCursorSelectAllRows, prepareDeleteAll, prepareDeleteAll, prepareDeleteAllUsingTempStorage, prepareDeleteAllUsingTempTables, prepareDeleteObject, prepareDoesExist, prepareInsertObject, prepareReportQuerySelectAllRows, prepareReportQuerySubSelect, prepareSelectAllRows, prepareSelectOneRow, prepareUpdateAll, prepareUpdateAllUsingOracleAnonymousBlock, prepareUpdateAllUsingTempStorage, prepareUpdateAllUsingTempTables, prepareUpdateObject, selectAllReportQueryRows, selectAllRows, selectAllRowsFromConcreteTable, selectAllRowsFromTable, selectOneRow, selectOneRowFromConcreteTable, selectOneRowFromTable, setSelectionCriteriaclearStatement, deleteObject, executeNoSelect, getSQLStatement, getSQLStatements, hasMultipleStatements, insertObject, insertObject, isCallQueryMechanism, prepareExecuteNoSelect, prepareExecuteSelect, setCallFromStatement, setSQLStatement, setSQLStatements, updateObjectgetDatabaseCall, prepareCall, setCallHasCustomSQLArguments, updateForeignKeyFieldShallowaddCall, cursorSelectAllRows, deleteAll, deleteAllUsingTempTables, executeCall, executeCall, executeNoSelectCall, executeSelect, executeSelectCall, getCall, getCalls, hasMultipleCalls, prepareReportQueryItems, selectRowForDoesExist, setCall, setCalls, updateAll, updateAllUsingTempTablesaddObjectDeletedDuringCommit, addWriteLockFieldForInsert, buildObjectsFromRows, deleteObjectForWrite, executeWrite, executeWriteWithChangeSet, getDescriptor, getModifyRow, getQuery, getReadObjectQuery, getSession, getTranslationRow, getWriteObjectQuery, insertObjectForWrite, insertObjectForWriteWithChangeSet, isQueryByExampleMechanism, performUserDefinedDelete, performUserDefinedInsert, performUserDefinedUpdate, performUserDefinedWrite, registerObjectInIdentityMap, setQuery, shallowDeleteObjectForWrite, shallowInsertObjectForWrite, updateChangeSet, updateChangeSet, updateChangeSet, updateChangeSet, updateForeignKeyFieldAfterInsert, updateForeignKeyFieldBeforeDelete, updateObjectAndRowWithReturnRow, updateObjectAndRowWithSequenceNumber, updateObjectForWrite, updateObjectForWriteWithChangeSetprotected EJBQLCall ejbqlCall
public EJBQLCallQueryMechanism(DatabaseQuery query)
query - - owner of mechanismpublic EJBQLCallQueryMechanism(DatabaseQuery query, EJBQLCall call)
query - - owner of mechanismcall - - Database callpublic java.lang.Object clone()
DatabaseQueryMechanismclone in class DatabaseQueryMechanismpublic void buildSelectionCriteria(AbstractSession newSession)
buildSelectionCriteria in class DatabaseQueryMechanismpublic EJBQLCall getEJBQLCall()
public boolean isEJBQLCallQueryMechanism()
DatabaseQueryMechanismisEJBQLCallQueryMechanism in class DatabaseQueryMechanismpublic void prepareForExecution()
throws QueryException
prepareForExecution in class DatabaseQueryMechanismQueryExceptionpublic void setEJBQLCall(EJBQLCall newEJBQLCall)