Uses of Class
org.eclipse.persistence.exceptions.QueryException
-
-
Uses of QueryException in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors that throw QueryException Modifier and Type Method Description protected VectorInheritancePolicy. selectAllRowUsingDefaultMultipleTableSubclassRead(ObjectLevelReadQuery query)INTERNAL: Select all rows from a abstract table descriptor.ObjectInterfacePolicy. selectOneObjectUsingMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one object of any concrete subclass.protected AbstractRecordInheritancePolicy. selectOneRowUsingDefaultMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one row of any concrete subclass, This must use two selects, the first retrieves the type field only.AbstractRecordInheritancePolicy. selectOneRowUsingMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one row of any concrete subclass, This must use two selects, the first retrieves the type field only. -
Uses of QueryException in org.eclipse.persistence.exceptions
-
Uses of QueryException in org.eclipse.persistence.expressions
Methods in org.eclipse.persistence.expressions that throw QueryException Modifier and Type Method Description booleanExpression. doesConform(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy)INTERNAL: Check if the object conforms to the expression in memory.booleanExpression. doesConform(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean objectIsUnregistered)INTERNAL: New parameter added to doesConform for feature 2612601 -
Uses of QueryException in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors that throw QueryException Modifier and Type Method Description voidObjectBuilder. buildAttributesIntoShallowObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query)INTERNAL: For reading through the write connection when in transaction, We need a partially populated original, so that we can build a clone using the copy policy, even though we can't put this original in the shared cache yet; just build a shallow original (i.e.voidObjectBuilder. buildAttributesIntoWorkingCopyClone(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh)INTERNAL: For reading through the write connection when in transaction, populate the clone directly from the database row.protected ObjectObjectBuilder. buildObject(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)Return an instance of the receivers javaClass.protected ObjectObjectBuilder. buildObjectInUnitOfWork(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor)For executing all reads on the UnitOfWork, the session when building objects from rows will now be the UnitOfWork.voidObjectBuilder. buildPrimaryKeyAttributesIntoObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session)INTERNAL: Build just the primary key mappings into the object.protected ObjectObjectBuilder. buildProtectedObject(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)Return an instance of the receivers javaClass.protected ObjectObjectBuilder. buildWorkingCopyCloneFromRow(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey)INTERNAL: Builds a working copy clone directly from the database row.protected ObjectObjectBuilder. buildWorkingCopyCloneNormally(ObjectBuildingQuery query, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager)buildWorkingCopyCloneFromRow is an alternative to this which is the normal behavior. -
Uses of QueryException in org.eclipse.persistence.internal.expressions
Methods in org.eclipse.persistence.internal.expressions that throw QueryException Modifier and Type Method Description protected QueryKeyFunctionExpression. getLeafQueryKeyFor(DatabaseQuery query, Expression expression, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the query key for this item. -
Uses of QueryException in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm that throw QueryException Modifier and Type Method Description ObjectXMLObjectBuilder. buildObject(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager)INTERNAL: Override the parent's buildObject to allow for the caching of aggregate objects in OX. -
Uses of QueryException in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that throw QueryException Modifier and Type Method Description voidReportItem. initialize(ReportQuery query)INTERNAL: Looks up mapping for attribute during preExecute of ReportQueryvoidContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.voidDatabaseQueryMechanism. prepare()This is different from 'prepareForExecution()' in that this is called on the original query, and the other is called on the clone of the query.voidExpressionQueryMechanism. prepare()Override super to do nothing.voidMapContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.voidCallQueryMechanism. prepareCall()INTERNAL: This is different from 'prepareForExecution' in that this is called on the original query, and the other is called on the copy of the query.voidDatasourceCallQueryMechanism. prepareCall()INTERNAL: This is different from 'prepareForExecution' in that this is called on the original query, and the other is called on the copy of the query.voidCallQueryMechanism. prepareCursorSelectAllRows()Pre-build configure the SQL call.abstract voidDatabaseQueryMechanism. prepareCursorSelectAllRows()Pre-pare for a cursored execute.voidDatasourceCallQueryMechanism. prepareCursorSelectAllRows()Pre-build configure the call.abstract voidDatabaseQueryMechanism. prepareDeleteAll()Prepare for a delete all.abstract voidDatabaseQueryMechanism. prepareDeleteObject()Prepare for a delete.abstract voidDatabaseQueryMechanism. prepareDoesExist(DatabaseField field)Pre-pare for a select execute.abstract voidDatabaseQueryMechanism. prepareExecute()Prepare for a raw execute call.abstract voidDatabaseQueryMechanism. prepareExecuteNoSelect()Prepare for a raw (non-object), non-selecting call.abstract voidDatabaseQueryMechanism. prepareExecuteSelect()Prepare for a raw (non-object) select call.voidContainerPolicy. prepareForExecution()Prepare and validate.abstract voidDatabaseQueryMechanism. prepareInsertObject()Prepare for an insert.abstract voidDatabaseQueryMechanism. prepareReportQuerySelectAllRows()Pre-pare for a select execute.abstract voidDatabaseQueryMechanism. prepareReportQuerySubSelect()Pre-pare a report query for a sub-select.abstract voidDatabaseQueryMechanism. prepareSelectAllRows()Prepare for a select returning (possibly) multiple rows.abstract voidDatabaseQueryMechanism. prepareSelectOneRow()Prepare for a select returning a single row.abstract voidDatabaseQueryMechanism. prepareUpdateAll()Prepare for an update all.abstract voidDatabaseQueryMechanism. prepareUpdateObject()Prepare for an update. -
Uses of QueryException in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions that throw QueryException Modifier and Type Method Description VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorIsolatedClientSessionIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorUnitOfWorkIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)INTERNAL: This method overrides the getAllFromIdentityMap method in Session.ObjectUnitOfWorkImpl. getBackupClone(Object clone)INTERNAL: Return the backup clone for the working clone.ObjectUnitOfWorkImpl. getBackupClone(Object clone, ClassDescriptor descriptor)INTERNAL: Return the backup clone for the working clone.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Query the cache in-memory.ObjectUnitOfWorkImpl. internalExecuteQuery(DatabaseQuery query, AbstractRecord databaseRow)INTERNAL: Return the results from executing the database query. -
Uses of QueryException in org.eclipse.persistence.internal.sessions.remote
Methods in org.eclipse.persistence.internal.sessions.remote that throw QueryException Modifier and Type Method Description ObjectRemoteUnitOfWork. internalExecuteQuery(DatabaseQuery query, AbstractRecord Record)INTERNAL: Return the results from exeucting the database query.protected ObjectRemoteScrollableCursor. retrieveNextObject()INTERNAL: This method differs slightly from conventional read() operation on a Java stream. -
Uses of QueryException in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings that throw QueryException Modifier and Type Method Description ObjectCollectionMapping. extractResultFromBatchQuery(ReadQuery batchQuery, CacheKey parentCacheKey, AbstractRecord sourceRow, AbstractSession session, ObjectLevelReadQuery originalQuery)INTERNAL: Extract the value from the batch optimized query, this should be supported by most query types.ObjectForeignReferenceMapping. extractResultFromBatchQuery(ReadQuery batchQuery, CacheKey parentCacheKey, AbstractRecord sourceRow, AbstractSession session, ObjectLevelReadQuery originalQuery)INTERNAL: Extract the value from the batch optimized query, this should be supported by most query types. -
Uses of QueryException in org.eclipse.persistence.queries
Methods in org.eclipse.persistence.queries that throw QueryException Modifier and Type Method Description voidScrollableCursor. add(Object object)PUBLIC: Add is not support for scrollable cursors.voidDatabaseQuery. checkDescriptor(AbstractSession session)INTERNAL: Ensure that the descriptor has been set.voidDoesExistQuery. checkDescriptor(Object object, AbstractSession session)INTERNAL: Ensure that the descriptor has been set.voidObjectLevelModifyQuery. checkDescriptor(AbstractSession session)INTERNAL: Ensure that the descriptor has been set.voidObjectLevelReadQuery. checkDescriptor(AbstractSession session)INTERNAL: Ensure that the descriptor has been set.voidReadObjectQuery. checkDescriptor(AbstractSession session)INTERNAL: Ensure that the descriptor has been set.protected List<Object>CursoredStream. copy(int startIndex, int endIndex)INTERNAL: Answer a list of the elements of the receiver's collection from startIndex to endIndex.protected abstract intCursor. getCursorSize()INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.protected intCursoredStream. getCursorSize()INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.voidConstructorReportItem. initialize(ReportQuery query)INTERNAL: Looks up mapping for attribute during preExecute of ReportQueryprotected voidMethodBaseQueryRedirector. initializeMethod(DatabaseQuery query)INTERNAL: Set the method.ObjectScrollableCursor. next()PUBLIC: This method differs slightly from conventional read() operation on a Java stream.ObjectScrollableCursor. nextElement()PUBLIC: Return the next object from the collection, if beyond the read limit read from the cursor.voidCursoredStreamPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.voidCursorPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.protected voidDatabaseQuery. prepare()INTERNAL: This is different from 'prepareForExecution' in that this is called on the original query, and the other is called on the copy of the query.protected voidDeleteAllQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidDoesExistQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidObjectLevelModifyQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidObjectLevelReadQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidReadAllQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidReadObjectQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidReadQuery. prepare()INTERNAL: This is different from 'prepareForExecution' in that this is called on the original query, and the other is called on the copy of the query.protected voidReportQuery. prepare()INTERNAL: Prepare the receiver for execution in a session.protected voidUpdateAllQuery. prepare()INTERNAL:voidDatabaseQuery. prepareCall(Session session, DataRecord translationRow)ADVANCED: Pre-generate the call/SQL for the query.voidObjectLevelReadQuery. prepareFetchGroup()INTERNAL: Add mandatory attributes to fetch group, create entityFetchGroup.voidReportQuery. prepareFetchGroup()INTERNAL: ReportQuery doesn't support fetch groups.voidDatabaseQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidDataModifyQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidDataReadQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidDeleteObjectQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidDoesExistQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidObjectLevelModifyQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidReadAllQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidReadObjectQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidReadQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.voidWriteObjectQuery. prepareForExecution()INTERNAL: Prepare the receiver for execution in a session.protected voidObjectLevelReadQuery. prepareForRemoteExecution()INTERNAL: Prepare the receiver for execution in a session.protected voidObjectLevelReadQuery. prepareQuery()INTERNAL: Prepare the receiver for execution in a session.voidReportQuery. prepareSubSelect(AbstractSession session, AbstractRecord translationRow, Map clonedExpressions)INTERNAL: Prepare the receiver for being printed inside a subselect.protected voidObjectLevelReadQuery. prePrepare()INTERNAL: Prepare the receiver for execution in a session.protected voidReadObjectQuery. prePrepare()INTERNAL: Prepare the receiver for execution in a session.ObjectScrollableCursor. previous()PUBLIC: Return the previous object from the collection.ObjectCursoredStream. read()PUBLIC: This method differs slightly from conventional read() operation on a Java stream.voidCursor. remove()PUBLIC: Remove is not support with cursors.AbstractRecordDatabaseQuery. rowFromArguments(List argumentValues, AbstractSession session)INTERNAL: Translate argumentValues into a database row.voidScrollableCursor. set(Object object)PUBLIC: Set is not supported for scrollable cursors. -
Uses of QueryException in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions that throw QueryException Modifier and Type Method Description VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Queries the cache in-memory and returns an Object from this identity map.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Queries the cache in-memory and returns an Object from this identity map.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Queries the cache in-memory and returns an Object from this identity map. -
Uses of QueryException in org.eclipse.persistence.sessions.broker
Methods in org.eclipse.persistence.sessions.broker that throw QueryException Modifier and Type Method Description ObjectSessionBroker. internalExecuteQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Return the results from exeucting the database query.
-