Uses of Class
org.eclipse.persistence.queries.ObjectBuildingQuery
Package
Description
-
Uses of ObjectBuildingQuery in org.eclipse.persistence.descriptors.copying
Modifier and TypeMethodDescriptionAbstractCopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) By default create a new instance.CloneCopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) Create a new instance, unless a workingCopyClone method is specified, then build a new instance and clone it.CopyPolicy.buildWorkingCopyCloneFromRow
(DataRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWork uow) Return an instance with the primary key set from the row, used for building a working copy during a unit of work transactional read. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.eis.mappings
Modifier and TypeMethodDescriptionprotected Object
EISCompositeCollectionMapping.buildCompositeObject
(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentsCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) protected Object
EISCompositeObjectMapping.buildCompositeObject
(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) EISOneToManyMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.EISOneToOneMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.descriptors
Modifier and TypeMethodDescriptionvoid
ObjectBuilder.buildAttributesIntoObject
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Each mapping is recursed to assign values from the Record to the attributes in the domain object.protected boolean
ObjectBuilder.buildAttributesIntoObjectSOP
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Each mapping is recursed to assign values from the Record to the attributes in the domain object.void
ObjectBuilder.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.void
ObjectBuilder.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 boolean
ObjectBuilder.buildAttributesIntoWorkingCopyCloneSOP
(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh) For reading through the write connection when in transaction, populate the clone directly from the database row.protected Object
ObjectBuilder.buildObject
(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager) Return an instance of the receivers javaClass.ObjectBuilder.buildObject
(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager) Return an instance of the receivers javaClass.ObjectBuilder.buildObject
(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager, AbstractSession session, ClassDescriptor concreteDescriptor, InheritancePolicy inheritancePolicy, boolean isUnitOfWork, boolean shouldCacheQueryResults, boolean shouldUseWrapperPolicy) Return an instance of the receivers javaClass.ObjectBuilder.buildObjectFromResultSet
(ObjectBuildingQuery query, JoinedAttributeManager joinManager, ResultSet resultSet, AbstractSession executionSession, DatabaseAccessor accessor, ResultSetMetaData metaData, DatabasePlatform platform, Vector fieldsList, DatabaseField[] fieldsArray) INTERNAL: Builds a working copy clone directly from a result set.protected Object
ObjectBuilder.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.void
ObjectBuilder.buildPrimaryKeyAttributesIntoObject
(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session) INTERNAL: Build just the primary key mappings into the object.protected Object
ObjectBuilder.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 Object
ObjectBuilder.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 Object
ObjectBuilder.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.protected void
ObjectBuilder.copyQueryInfoToCacheKey
(CacheKey cacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, ClassDescriptor concreteDescriptor) Initialize a cache key.ObjectBuilder.instantiateWorkingCopyCloneFromRow
(AbstractRecord row, ObjectBuildingQuery query, Object primaryKey, UnitOfWorkImpl unitOfWork) It is now possible to build working copy clones directly from rows.protected void
ObjectBuilder.loadBatchReadAttributes
(ClassDescriptor concreteDescriptor, Object sourceObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, boolean isTargetProtected) protected void
ObjectBuilder.loadJoinedAttributes
(ClassDescriptor concreteDescriptor, Object sourceObject, CacheKey cacheKey, AbstractRecord databaseRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected) protected void
ObjectBuilder.postBuildAttributesIntoObjectEvent
(Object domainObject, AbstractRecord databaseRow, ObjectBuildingQuery query, boolean forRefresh) protected void
ObjectBuilder.postBuildAttributesIntoWorkingCopyCloneEvent
(Object clone, AbstractRecord databaseRow, ObjectBuildingQuery query, UnitOfWorkImpl unitOfWork, boolean forRefresh) protected boolean
ObjectBuilder.refreshObjectIfRequired
(ClassDescriptor concreteDescriptor, CacheKey cacheKey, Object domainObject, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, AbstractSession session, boolean targetIsProtected) This method is called when a cached Entity needs to be refreshed -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.identitymaps
-
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.jpa.querydef
Modifier and TypeClassDescriptionclass
Purpose: This is a special subclass of the ReportQuery that constructs Tuple results. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.oxm
Modifier and TypeMethodDescriptionvoid
XMLObjectBuilder.buildAttributesIntoObject
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Override method in superclass in order to set the session on the record.XMLObjectBuilder.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 ObjectBuildingQuery in org.eclipse.persistence.internal.queries
Modifier and TypeFieldDescriptionprotected ObjectBuildingQuery
JoinedAttributeManager.baseQuery
Stores the base query.Modifier and TypeMethodDescriptionboolean
ContainerPolicy.addAll
(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected) INTERNAL: This is used for ordered List containers to add all of the elements to the collection in the order of the index field in the row.boolean
OrderedListContainerPolicy.addAll
(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected) INTERNAL: Add a list of elements to container.boolean
ContainerPolicy.addInto
(Object element, Object container, AbstractSession session, AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected) INTERNAL: Add element to container.boolean
MappedKeyMapContainerPolicy.addInto
(Object element, Object container, AbstractSession session, AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected) INTERNAL: Add element to that implements the Map interface use the row to compute the keyContainerPolicy.buildKey
(AbstractRecord row, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) Extract the key for the map from the provided row overridden by subclasses that deal with map keysMappedKeyMapContainerPolicy.buildKey
(AbstractRecord row, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) Extract the key for the map from the provided row.ContainerPolicy.buildKeyFromJoinedRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) Extract the key for the map from the provided row overridden by subclasses that deal with map keysMappedKeyMapContainerPolicy.buildKeyFromJoinedRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) Extract the key for the map from the provided row.ModifierConstructorDescriptionJoinedAttributeManager
(ClassDescriptor descriptor, ExpressionBuilder baseBuilder, ObjectBuildingQuery baseQuery) -
Uses of ObjectBuildingQuery in org.eclipse.persistence.internal.sessions
Modifier and TypeMethodDescriptionAbstractSession.retrieveCacheKey
(Object primaryKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager, ObjectBuildingQuery query) boolean
RepeatableWriteUnitOfWork.shouldForceReadFromDB
(ObjectBuildingQuery query, Object primaryKey) INTERNAL: Calculate whether we should read directly from the database to the UOW.boolean
UnitOfWorkImpl.shouldForceReadFromDB
(ObjectBuildingQuery query, Object primaryKey) INTERNAL: Calculate whether we should read directly from the database to the UOW. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings
Modifier and TypeMethodDescriptionAggregateObjectMapping.prepareNestedQuery
(ObjectBuildingQuery sourceQuery) INTERNAL: Clone and prepare the selection query as a nested batch read query.Modifier and TypeMethodDescriptionAggregateObjectMapping.buildAggregateFromRow
(AbstractRecord databaseRow, Object targetObject, CacheKey cacheKey, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, boolean buildShallowOriginal, AbstractSession executionSession, boolean targetIsProtected) INTERNAL: Build and return an aggregate object from the specified row.void
AggregateMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: A combination of readFromRowIntoObject and buildClone.void
AggregateObjectMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: A combination of readFromRowIntoObject and buildClone.abstract void
DatabaseMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: A combination of readFromRowIntoObject and buildClone.void
ForeignReferenceMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: A combination of readFromRowIntoObject and buildClone.void
MultitenantPrimaryKeyMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.void
AggregateObjectMapping.buildShallowOriginalFromRow
(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Builds a shallow original object.void
DatabaseMapping.buildShallowOriginalFromRow
(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) INTERNAL: Builds a shallow original object.void
OneToOneMapping.buildShallowOriginalFromRow
(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) INTERNAL: Builds a shallow original object.AggregateObjectMapping.createMapComponentFromJoinedRow
(AbstractRecord dbRow, JoinedAttributeManager joinManger, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is executed.OneToOneMapping.createMapComponentFromJoinedRow
(AbstractRecord dbRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.AggregateCollectionMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.AggregateObjectMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.DirectMapMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.ManyToManyMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.OneToManyMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.OneToOneMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.protected void
ForeignReferenceMapping.extendPessimisticLockScopeInTargetQuery
(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) INTERNAL: Called if shouldExtendPessimisticLockScopeInTargetQuery() is true.protected void
ManyToManyMapping.extendPessimisticLockScopeInTargetQuery
(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) INTERNAL: Adds locking clause to the target query to extend pessimistic lock scope.protected void
OneToOneMapping.extendPessimisticLockScopeInTargetQuery
(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) INTERNAL: Adds locking clause to the target query to extend pessimistic lock scope.protected boolean
ForeignReferenceMapping.isExtendingPessimisticLockScope
(ObjectBuildingQuery sourceQuery) INTERNAL: Indicates whether the source query's pessimistic lock scope scope should be extended in the target query.protected ReadQuery
ForeignReferenceMapping.prepareHistoricalQuery
(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Allow for the mapping to perform any historical query additions.protected ReadQuery
ManyToManyMapping.prepareHistoricalQuery
(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Append the temporal selection to the query selection criteria.protected ObjectLevelReadQuery
ForeignReferenceMapping.prepareNestedJoinQueryClone
(AbstractRecord row, List dataResults, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Prepare the clone of the nested query for joining.AggregateCollectionMapping.prepareNestedJoins
(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.DirectCollectionMapping.prepareNestedJoins
(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) INTERNAL: Clone and prepare the joined direct query.ForeignReferenceMapping.prepareNestedJoins
(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session) INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.AggregateObjectMapping.prepareNestedQuery
(ObjectBuildingQuery sourceQuery) INTERNAL: Clone and prepare the selection query as a nested batch read query.DatabaseMapping.readFromResultSetIntoObject
(ResultSet resultSet, Object targetObject, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform) INTERNAL: Extract values directly from the result-set.AggregateObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Build an aggregate object from the specified row and put it in the specified target object.DatabaseMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to this value in the object.ForeignReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to this value in the object.void
RelationTableMechanism.setRelationTableLockingClause
(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) INTERNAL: Return relation table locking clause.protected boolean
ForeignReferenceMapping.shouldUseValueFromRowWithJoin
(JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery) INTERNAL: Indicates whether valueFromRow should call valueFromRowInternalWithJoin (true) or valueFromRowInternal (false)DatabaseMapping.valueFromResultSet
(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform) INTERNAL: Returns the value for the mapping directly from the result-set.DatabaseMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected) INTERNAL: A subclass should implement this method if it wants different behavior.DatabaseMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: A subclass should implement this method if it wants different behavior.DirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.ForeignReferenceMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.VariableOneToOneMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
ForeignReferenceMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Return the value of the reference attribute or a value holder.protected Object
ForeignReferenceMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject) INTERNAL: Return the value of the reference attribute or a value holder.protected Object
OneToOneMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
CollectionMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
DirectCollectionMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
DirectMapMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
ForeignReferenceMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: If the query used joining or partial attributes, build the target object directly.protected Object
OneToOneMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings.foundation
Modifier and TypeMethodDescriptionvoid
AbstractCompositeDirectCollectionMapping.buildCloneFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.void
AbstractDirectMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.void
AbstractTransformationMapping.buildCloneFromRow
(AbstractRecord record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) INTERNAL: Extract value from the row and set the attribute to this value in the working copy clone.protected abstract Object
AbstractCompositeCollectionMapping.buildCompositeObject
(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession) protected abstract Object
AbstractCompositeObjectMapping.buildCompositeObject
(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession) void
AbstractCompositeObjectMapping.buildShallowOriginalFromRow
(AbstractRecord row, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Builds a shallow original object.void
AbstractDirectMapping.buildShallowOriginalFromRow
(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) INTERNAL: Builds a shallow original object.void
AbstractTransformationMapping.buildShallowOriginalFromRow
(AbstractRecord record, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession) INTERNAL: Builds a shallow original object.AbstractDirectMapping.createMapComponentFromJoinedRow
(AbstractRecord dbRow, JoinedAttributeManager joinManger, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is executed.MapKeyMapping.createMapComponentFromJoinedRow
(AbstractRecord dbRow, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection and a join query is used.AbstractCompositeCollectionMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.AbstractCompositeDirectCollectionMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.AbstractDirectMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.MapComponentMapping.createMapComponentFromRow
(AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected) INTERNAL Called when a DatabaseMapping is used to map the key in a collection.AbstractTransformationMapping.readFromRowIntoObject
(AbstractRecord row, JoinedAttributeManager joinManager, Object object, CacheKey parentCacheKey, ObjectBuildingQuery query, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to the value in the object.AbstractDirectMapping.valueFromResultSet
(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform) INTERNAL: Returns the value for the mapping directly from the result-set.AbstractCompositeCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build and return an aggregate collection from the specified row.AbstractCompositeDirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row.AbstractCompositeObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Extract and return the aggregate object from the specified row.AbstractDirectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the mapping's attribute value from the row. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.mappings.structures
Modifier and TypeMethodDescriptionprotected Object
ObjectArrayMapping.buildCompositeObject
(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) protected Object
StructureMapping.buildCompositeObject
(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) ReferenceMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object. -
Uses of ObjectBuildingQuery in org.eclipse.persistence.oxm.mappings
Modifier and TypeMethodDescriptionvoid
XMLAnyAttributeMapping.buildCloneFromRow
(AbstractRecord Record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) void
XMLAnyCollectionMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) void
XMLAnyObjectMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) void
XMLChoiceCollectionMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) void
XMLChoiceObjectMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) void
XMLInverseReferenceMapping.buildCloneFromRow
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession) protected Object
XMLCompositeCollectionMapping.buildCompositeObject
(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession) protected Object
XMLCompositeObjectMapping.buildCompositeObject
(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession) protected Object
XMLAbstractAnyMapping.buildObjectAndWrapInXMLRoot
(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy) Uses a given reference descriptor to build an object based on a given DOMRecord.protected Object
XMLAbstractAnyMapping.buildObjectForNonXMLRoot
(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy) XMLCompositeCollectionMapping.buildObjectFromNestedRow
(AbstractRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLChoiceObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLCollectionReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLCollectionReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected, Object container) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLCompositeObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLObjectReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and store it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLAnyAttributeMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLAnyCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLAnyObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLBinaryDataCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLBinaryDataMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLChoiceCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLChoiceObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLCompositeCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLCompositeDirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row.XMLCompositeObjectMapping.valueFromRow
(Object fieldValue, XMLRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLCompositeObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLDirectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the mapping's attribute value from the row.XMLFragmentCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row.XMLFragmentMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) -
Uses of ObjectBuildingQuery in org.eclipse.persistence.queries
Modifier and TypeClassDescriptionclass
Purpose: Abstract class for all read queries using objects.class
Purpose: Concrete class for all read queries involving a collection of objects.class
Purpose: Concrete class for all read queries involving a single object.class
Purpose: Query for information about a set of objects instead of the objects themselves.class
Purpose: Concrete class to perform read using raw SQL and the SQLResultSetMapping.