Module org.eclipse.persistence.core
Class JPQLCallQueryMechanism
java.lang.Object
org.eclipse.persistence.internal.queries.DatabaseQueryMechanism
org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
org.eclipse.persistence.internal.queries.CallQueryMechanism
org.eclipse.persistence.internal.queries.StatementQueryMechanism
org.eclipse.persistence.internal.queries.ExpressionQueryMechanism
org.eclipse.persistence.internal.queries.JPQLCallQueryMechanism
- All Implemented Interfaces:
Serializable
,Cloneable
INTERNAL
Purpose: Mechanism used for EJBQL.
Responsibilities: Executes the appropriate call.
- Since:
- TopLink 4.0
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.queries.ExpressionQueryMechanism
selectionCriteria
Fields inherited from class org.eclipse.persistence.internal.queries.StatementQueryMechanism
sqlStatement, sqlStatements
Fields inherited from class org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
call, calls
Fields inherited from class org.eclipse.persistence.internal.queries.DatabaseQueryMechanism
query
-
Constructor Summary
ConstructorDescriptionInitialize the state of the queryJPQLCallQueryMechanism
(DatabaseQuery query, JPQLCall call) INTERNAL Initialize the state of the query -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildSelectionCriteria
(AbstractSession newSession) Internal: In the case of EJBQL, an expression needs to be generated, and the query populated.clone()
Clone the mechanismboolean
Delete a collection of objects This should be overridden by subclasses.void
setJPQLCall
(JPQLCall newJPQLCall) Methods inherited from class org.eclipse.persistence.internal.queries.ExpressionQueryMechanism
aliasFields, aliasPresetFields, buildBaseSelectionCriteria, buildBaseSelectionCriteria, buildBaseSelectStatement, buildBaseSelectStatement, buildConcreteSelectStatement, buildDeleteAllStatement, buildDeleteAllStatementForMapping, buildDeleteAllStatementsForMappings, buildDeleteAllStatementsForMappingsWithTempTable, buildDeleteStatement, buildDeleteStatementForDeleteAllQuery, buildDeleteStatementForDeleteAllQuery, buildInsertStatement, buildNormalSelectStatement, buildReportQuerySelectStatement, buildReportQuerySelectStatement, buildSelectStatementForDoesExist, buildStatementsForDeleteAllForTempTables, buildStatementsForUpdateAllForTempTables, buildUpdateAllStatement, buildUpdateAllStatementForOracleAnonymousBlock, buildUpdateStatement, checkCacheForObject, clearStatement, clone, createSQLSelectStatementForAssignedExpressionForUpdateAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAll, createSQLSelectStatementForModifyAllForTempTable, createSQLSelectStatementForUpdateAllForOracleAnonymousBlock, getAliasTableName, getExpressionBuilder, getHighestDescriptorMappingTable, 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, setSelectionCriteria, shouldBuildDeleteStatementForMapping, shouldIncludeAllSubclassFields
Methods inherited from class org.eclipse.persistence.internal.queries.StatementQueryMechanism
configureDatabaseCall, deleteObject, executeNoSelect, getSQLStatement, getSQLStatements, hasMultipleStatements, insertObject, insertObject, isCallQueryMechanism, prepareExecuteNoSelect, prepareExecuteSelect, setCallFromStatement, setSQLStatement, setSQLStatements, trimFieldsForInsert, updateObject
Methods inherited from class org.eclipse.persistence.internal.queries.CallQueryMechanism
getDatabaseCall, prepareCall, prepareExecute, prepareJoining, setCallHasCustomSQLArguments, unprepare, updateForeignKeyFieldAfterInsert, updateForeignKeyFieldBeforeDelete
Methods inherited from class org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism
addCall, computeAndSetItemOffset, cursorSelectAllRows, deleteAll, deleteAllUsingTempTables, execute, executeCall, executeCall, executeDeferredCall, executeNoSelectCall, executeSelect, executeSelectCall, generateKeysExecuteNoSelect, getCall, getCalls, hasMultipleCalls, prepareReportQueryItems, selectResultSet, selectRowForDoesExist, setCall, setCalls, updateAll, updateAllUsingTempTables
Methods inherited from class org.eclipse.persistence.internal.queries.DatabaseQueryMechanism
addWriteLockFieldForInsert, executeWrite, executeWriteWithChangeSet, getDescriptor, getExecutionSession, getModifyRow, getQuery, getReadObjectQuery, getSession, getTranslationRow, getWriteObjectQuery, insertObjectForWrite, isQueryByExampleMechanism, performUserDefinedInsert, performUserDefinedUpdate, performUserDefinedWrite, registerObjectInIdentityMap, setQuery, shallowInsertObjectForWrite, updateForeignKeyFieldAfterInsert, updateObjectAndRowWithReturnRow, updateObjectAndRowWithSequenceNumber, updateObjectAndRowWithSequenceNumber, updateObjectForWrite, updateObjectForWriteWithChangeSet
-
Field Details
-
ejbqlCall
-
-
Constructor Details
-
JPQLCallQueryMechanism
public JPQLCallQueryMechanism() -
JPQLCallQueryMechanism
Initialize the state of the query- Parameters:
query
- - owner of mechanism
-
JPQLCallQueryMechanism
INTERNAL Initialize the state of the query- Parameters:
query
- - owner of mechanismcall
- - Database call
-
-
Method Details
-
clone
Description copied from class:DatabaseQueryMechanism
Clone the mechanism- Overrides:
clone
in classDatabaseQueryMechanism
-
buildSelectionCriteria
Internal: In the case of EJBQL, an expression needs to be generated, and the query populated.- Overrides:
buildSelectionCriteria
in classDatabaseQueryMechanism
-
getJPQLCall
-
isJPQLCallQueryMechanism
public boolean isJPQLCallQueryMechanism()Description copied from class:DatabaseQueryMechanism
Delete a collection of objects This should be overridden by subclasses.- Overrides:
isJPQLCallQueryMechanism
in classDatabaseQueryMechanism
-
setJPQLCall
-