Top Description Fields Constructors Methods
org.eclipse.persistence.internal.queries

public Class JPQLCallQueryMechanism

extends ExpressionQueryMechanism
Class Inheritance
Imports
org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.queries.DatabaseQuery, .JPQLCall

INTERNAL

Purpose: Mechanism used for EJBQL.

Responsibilities: Executes the appropriate call.

Author
Jon Driscoll, Joel Lucuik
Since
TopLink 4.0

Field Summary

Modifier and TypeField and Description
protected JPQLCall
Inherited from org.eclipse.persistence.internal.queries.ExpressionQueryMechanism:
selectionCriteria

Constructor Summary

AccessConstructor and Description
public
public
JPQLCallQueryMechanism(DatabaseQuery
- owner of mechanism
query
)

Initialize the state of the query

public
JPQLCallQueryMechanism(DatabaseQuery
- owner of mechanism
query
,
JPQLCall
- Database call
call
)

INTERNAL Initialize the state of the query

Method Summary

Modifier and TypeMethod and Description
public void
buildSelectionCriteria(AbstractSession newSession)

Overrides org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.buildSelectionCriteria.

Internal: In the case of EJBQL, an expression needs to be generated, and the query populated.
public Object
public JPQLCall
public boolean
isJPQLCallQueryMechanism()

Overrides org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.isJPQLCallQueryMechanism.

Delete a collection of objects This should be overridden by subclasses.
public void
setJPQLCall(JPQLCall newJPQLCall)

Inherited from org.eclipse.persistence.internal.queries.ExpressionQueryMechanism:
aliasFieldsaliasPresetFieldsbuildBaseSelectionCriteriabuildBaseSelectionCriteriabuildBaseSelectStatementbuildBaseSelectStatementbuildConcreteSelectStatementbuildDeleteAllStatementbuildDeleteAllStatementForMappingbuildDeleteAllStatementsForMappingsbuildDeleteAllStatementsForMappingsWithTempTablebuildDeleteStatementbuildDeleteStatementForDeleteAllQuerybuildDeleteStatementForDeleteAllQuerybuildInsertStatementbuildNormalSelectStatementbuildReportQuerySelectStatementbuildReportQuerySelectStatementbuildSelectStatementForDoesExistbuildStatementsForDeleteAllForTempTablesbuildStatementsForUpdateAllForTempTablesbuildUpdateAllStatementbuildUpdateAllStatementForOracleAnonymousBlockbuildUpdateStatementcheckCacheForObjectclearStatementclonecreateSQLSelectStatementForAssignedExpressionForUpdateAllcreateSQLSelectStatementForModifyAllcreateSQLSelectStatementForModifyAllcreateSQLSelectStatementForModifyAllForTempTablecreateSQLSelectStatementForUpdateAllForOracleAnonymousBlockgetAliasTableNamegetExpressionBuildergetHighestDescriptorMappingTablegetPrimaryKeyFieldsForTablegetPrimaryKeyFieldsForTablegetSelectionCriteriagetSelectionFieldsisExpressionQueryMechanismisStatementQueryMechanismprepareprepareCursorSelectAllRowsprepareDeleteAllprepareDeleteAllprepareDeleteAllUsingTempStorageprepareDeleteAllUsingTempTablesprepareDeleteObjectprepareDoesExistprepareInsertObjectprepareReportQuerySelectAllRowsprepareReportQuerySubSelectprepareSelectAllRowsprepareSelectOneRowprepareUpdateAllprepareUpdateAllUsingOracleAnonymousBlockprepareUpdateAllUsingTempStorageprepareUpdateAllUsingTempTablesprepareUpdateObjectselectAllReportQueryRowsselectAllRowsselectAllRowsFromConcreteTableselectAllRowsFromTableselectOneRowselectOneRowFromConcreteTableselectOneRowFromTablesetSelectionCriteriashouldBuildDeleteStatementForMappingshouldIncludeAllSubclassFields

Field Detail

ejbqlCallback to summary
protected JPQLCall ejbqlCall

Constructor Detail

JPQLCallQueryMechanismback to summary
public JPQLCallQueryMechanism()
JPQLCallQueryMechanismback to summary
public JPQLCallQueryMechanism(DatabaseQuery query)

Initialize the state of the query

Parameters
query:DatabaseQuery

- owner of mechanism

JPQLCallQueryMechanismback to summary
public JPQLCallQueryMechanism(DatabaseQuery query, JPQLCall call)

INTERNAL Initialize the state of the query

Parameters
query:DatabaseQuery

- owner of mechanism

call:JPQLCall

- Database call

Method Detail

buildSelectionCriteriaback to summary
public void buildSelectionCriteria(AbstractSession newSession)

Overrides org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.buildSelectionCriteria.

Internal: In the case of EJBQL, an expression needs to be generated, and the query populated.

Annotations
@Override
cloneback to summary
public Object clone()

Overrides org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.clone.

Doc from org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.clone.

Clone the mechanism

Returns:Object

Doc from java.lang.Object.clone.

a clone of this instance.

Annotations
@Override
getJPQLCallback to summary
public JPQLCall getJPQLCall()
isJPQLCallQueryMechanismback to summary
public boolean isJPQLCallQueryMechanism()

Overrides org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.isJPQLCallQueryMechanism.

Doc from org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.isJPQLCallQueryMechanism.

Delete a collection of objects This should be overridden by subclasses.

Annotations
@Override
setJPQLCallback to summary
public void setJPQLCall(JPQLCall newJPQLCall)