Uses of Class
org.eclipse.persistence.internal.sessions.AbstractSession
-
-
Uses of AbstractSession in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as AbstractSession Modifier and Type Field Description protected AbstractSessionDescriptorEvent. sessionThe session in which the event is raised.Methods in org.eclipse.persistence.descriptors that return AbstractSession Modifier and Type Method Description AbstractSessionDescriptorEvent. getSession()PUBLIC: The session in which the event is raised.Methods in org.eclipse.persistence.descriptors with parameters of type AbstractSession Modifier and Type Method Description voidMultitenantPolicy. addFieldsToRow(AbstractRecord row, AbstractSession session)voidSingleTableMultitenantPolicy. addFieldsToRow(AbstractRecord row, AbstractSession session)INTERNAL: Add the tenant discriminator fields to the row.voidTablePerMultitenantPolicy. addFieldsToRow(AbstractRecord row, AbstractSession session)INTERNAL:voidSerializableDescriptorEventHolder. addListenerToEventManager(ClassDescriptor descriptor, AbstractSession session, ClassLoader loader)voidFieldsLockingPolicy. addLockFieldsToUpdateRow(AbstractRecord Record, AbstractSession session)INTERNAL: Add update fields for template row.voidVersionLockingPolicy. addLockFieldsToUpdateRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Add update fields for template row.voidCachePolicy. assignDefaultValues(AbstractSession session)INTERNAL: Some attributes have default values defined in Project.protected voidClassDescriptor. assignDefaultValues(AbstractSession session)INTERNAL: Some attributes have default values defined in Project.DatasourceCallClassDescriptor. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Return a call built from a statement.ObjectClassDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectClassDescriptor. buildFieldValueFromForeignKeys(Vector foreignKeys, String referenceDataTypeName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of foreign keys (i.e.ObjectClassDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectClassDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.VectorClassDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.CacheKeyCachePolicy. checkCacheByIndex(Expression expression, AbstractRecord translationRow, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Lookup the expression in the cache if it contains any indexes.protected voidClassDescriptor. checkDatabase(AbstractSession session)To check that tables and fields are present in databasevoidClassDescriptor. checkInheritanceTreeAggregateSettings(AbstractSession session, AggregateMapping mapping)INTERNAL: Verify that an aggregate descriptor's inheritance tree is full of aggregate descriptors.Class<?>InheritancePolicy. classFromRow(AbstractRecord rowFromDatabase, AbstractSession session)INTERNAL: This method is invoked only for the abstract descriptors.Class<?>InheritancePolicy. classFromValue(Object classFieldValue, AbstractSession session)INTERNAL: This method is used to turn the a raw database field value classFieldValue into a Class object.voidFetchGroupManager. copyAggregateFetchGroupInto(Object source, Object target, Object rootEntity, AbstractSession session)INTERNAL: Copy fetch group reference from the source object to the targetvoidFetchGroupManager. copyFetchGroupInto(Object source, Object target, AbstractSession session)INTERNAL: Copy fetch group reference from the source object to the targetObjectCMPPolicy. createBeanUsingKey(Object key, AbstractSession session)INTERNAL: Use the key to create a bean and initialize its primary key fields.ObjectCMPPolicy. createPrimaryKeyFromId(Object key, AbstractSession session)INTERNAL: Use the key to create a EclipseLink primary key.ObjectCMPPolicy. createPrimaryKeyInstance(Object object, AbstractSession session)INTERNAL: Create an instance of the Id class or value from the object.ObjectCMPPolicy. createPrimaryKeyInstanceFromId(Object key, AbstractSession session)INTERNAL: Create an instance of the composite primary key class for the key object.ObjectCMPPolicy. createPrimaryKeyInstanceFromPrimaryKeyValues(AbstractSession session, int[] elementIndex, Object... keyElements)INTERNAL: Create an instance of the composite primary key class for the key object.protected <T> TTimestampLockingPolicy. getInitialWriteValue(AbstractSession session)INTERNAL: returns the initial locking valueprotected <T> TVersionLockingPolicy. getInitialWriteValue(AbstractSession session)INTERNAL: returns the initial locking valueObjectSerializedObjectPolicy. getObjectFromRow(AbstractRecord databaseRow, AbstractSession session, ObjectLevelReadQuery query)Deserialize the object from the value corresponding to the policy field, nullify that value, set the object into the row using setSopObject, also return it.ObjectCMPPolicy.KeyElementAccessor. getValue(Object object, AbstractSession session)ObjectCMPPolicy.KeyIsElementAccessor. getValue(Object object, AbstractSession session)<T> TFieldsLockingPolicy. getValueToPutInCache(AbstractRecord row, AbstractSession session)INTERNAL: Return the value that should be stored in the identity map.<T> TTimestampLockingPolicy. getValueToPutInCache(AbstractRecord row, AbstractSession session)INTERNAL: Return the value that should be stored in the identity map.<T> TVersionLockingPolicy. getValueToPutInCache(AbstractRecord row, AbstractSession session)INTERNAL: Return the value that should be stored in the identity map.intFieldsLockingPolicy. getVersionDifference(Object currentValue, Object domainObject, Object primaryKeys, AbstractSession session)INTERNAL: Return the number of version difference between the two states of the object.intTimestampLockingPolicy. getVersionDifference(Object currentValue, Object domainObject, Object primaryKeys, AbstractSession session)INTERNAL: Return the number of versions different between these objects.intVersionLockingPolicy. getVersionDifference(Object currentValue, Object domainObject, Object primaryKeys, AbstractSession session)PUBLIC: Return the number of versions different between these objects.ExpressionFieldsLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL:ExpressionTimestampLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: Return an expression that updates the write lockExpressionVersionLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: Retrun an expression that updates the write lock<T> TFieldsLockingPolicy. getWriteLockValue(Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: This method will return the optimistic lock value for the object<T> TTimestampLockingPolicy. getWriteLockValue(Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: This method will return the optimistic lock value for the object.<T> TVersionLockingPolicy. getWriteLockValue(Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: This method will return the optimistic lock value for the objectbooleanClassDescriptor. hasTargetForeignKeyMapping(AbstractSession session)INTERNAL: Indicates whether descriptor has at least one target foreign key mappingvoidCachePolicy. indexObjectInCache(CacheKey cacheKey, Object object, ClassDescriptor descriptor, AbstractSession session, boolean refresh)INTERNAL: Index the object by index in the cache using the object.voidCachePolicy. indexObjectInCache(CacheKey cacheKey, AbstractRecord databaseRow, Object domainObject, ClassDescriptor descriptor, AbstractSession session, boolean refresh)INTERNAL: Index the object by index in the cache using its row.voidCachePolicy. indexObjectInCache(ObjectChangeSet changeSet, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Index the object by index in the cache using its changeSet.voidCachePolicy. initialize(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Allow the inheritance properties of the descriptor to be initialized.voidClassDescriptor. initialize(DescriptorQueryManager queryManager, AbstractSession session)INTERNAL: Initialize the query manager specific to the descriptor type.voidClassDescriptor. initialize(AbstractSession session)INTERNAL: Initialize the mappings as a separate step.voidCMPPolicy. initialize(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Initialize the CMPPolicy settings.voidDescriptorEventManager. initialize(AbstractSession session)INTERNAL: Configure inherited selectors.voidDescriptorQueryManager. initialize(AbstractSession session)INTERNAL: Post initialize the mappingsvoidFetchGroupManager. initialize(AbstractSession session)INTERNAL: Initialize the fetch groups.voidFieldsLockingPolicy. initialize(AbstractSession session)INTERNAL: It is responsible for initializing the policy;voidInheritancePolicy. initialize(AbstractSession session)INTERNAL: Initialize the inheritance properties of the descriptor once the mappings are initialized.voidInterfacePolicy. initialize(AbstractSession session)INTERNAL: Set the vector to store parent interfaces.voidMultitenantPolicy. initialize(AbstractSession session)voidReturningPolicy. initialize(AbstractSession session)INTERNAL:voidSchemaPerMultitenantPolicy. initialize(AbstractSession session)INTERNAL:voidSelectedFieldsLockingPolicy. initialize(AbstractSession session)INTERNAL: It is responsible for initializing the policy;voidSerializedObjectPolicy. initialize(AbstractSession session)initialize the policyvoidSingleTableMultitenantPolicy. initialize(AbstractSession session)INTERNAL: Initialize the mappings as a separate step.voidTablePerMultitenantPolicy. initialize(AbstractSession session)INTERNAL:voidVersionLockingPolicy. initialize(AbstractSession session)INTERNAL: It is responsible for initializing the policy;voidWrapperPolicy. initialize(AbstractSession session)PUBLIC: Required: Lets the policy perform initialization.voidClassDescriptor. initializeAggregateInheritancePolicy(AbstractSession session)INTERNAL: This initialized method is used exclusively for inheritance.protected voidInheritancePolicy. initializeClassExtractor(AbstractSession session)INTERNAL: Setup the default classExtractionMethod, or if one was specified by the user make sure it is valid.voidSerializedObjectPolicy. initializeField(AbstractSession session)unless the field is already initialized by parent descriptor, add the field to the owning descriptor and set field's typevoidCachePolicy. initializeFromParent(CachePolicy parentPolicy, ClassDescriptor descriptor, ClassDescriptor descriptorDescriptor, AbstractSession session)INTERNAL: Allow the inheritance properties of the descriptor to be initialized.protected voidClassDescriptor. initializeProperties(AbstractSession session)INTERNAL: Initialize the descriptor properties such as write lock and sequencing.voidDescriptorQueryManager. initializeQueryTimeout(AbstractSession session)INTERNAL: Initialize the queryTimeout to: NoTimeout: If queryTimeout is DefaultTimeout, either directly or via inheritance.voidClassDescriptor. interfaceInitialization(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.booleanCachePolicy. isIndexableExpression(Expression expression, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Lookup the expression in the cache if it contains any indexes.booleanFieldsLockingPolicy. isNewerVersion(Object currentValue, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value and the value from the object (or cache).booleanFieldsLockingPolicy. isNewerVersion(AbstractRecord Record, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value from the row and from the object (or cache).booleanTimestampLockingPolicy. isNewerVersion(Object currentValue, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value with the value from the object (or cache).booleanTimestampLockingPolicy. isNewerVersion(AbstractRecord databaseRow, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value from the row and from the object (or cache).booleanVersionLockingPolicy. isNewerVersion(Object currentValue, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value with the value from the object (or cache).booleanVersionLockingPolicy. isNewerVersion(AbstractRecord databaseRow, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Compares the value from the row and from the object (or cache).booleanClassDescriptor. isPrimaryKeySetAfterInsert(AbstractSession session)INTERNAL: Indicates whether pk or some of its components set after insert into the database.voidClassDescriptor. notifyReferencingDescriptorsOfIsolation(AbstractSession session)INTERNAL: Configure all descriptors referencing this class to be protected and update their cache settings.voidCachePolicy. postInitialize(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Initialize the cache isolation setting.voidClassDescriptor. postInitialize(AbstractSession session)INTERNAL: Post initializations after mappings are initialized.voidDescriptorQueryManager. postInitialize(AbstractSession session)INTERNAL: Post initializations after mappings are initialized.voidFetchGroupManager. postInitialize(AbstractSession session)INTERNAL: postInitialize called for inheritance children first.voidInheritancePolicy. postInitialize(AbstractSession session)INTERNAL: Initialized the inheritance properties that cannot be initialized until after the mappings have been.voidMultitenantPolicy. postInitialize(AbstractSession session)voidSerializedObjectPolicy. postInitialize(AbstractSession session)postinitialize the policy: determine which mappings are included, which fields should be selectedvoidSingleTableMultitenantPolicy. postInitialize(AbstractSession session)INTERNAL: Subclasses that need to add field to an expresison should override this method.voidTablePerMultitenantPolicy. postInitialize(AbstractSession session)INTERNAL:voidClassDescriptor. preInitialize(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.voidDescriptorQueryManager. preInitialize(AbstractSession session)INTERNAL: Initialize the query manager.voidInheritancePolicy. preInitialize(AbstractSession session)INTERNAL: Allow the inheritance properties of the descriptor to be initialized.voidMultitenantPolicy. preInitialize(AbstractSession session)voidSingleTableMultitenantPolicy. preInitialize(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.voidTablePerMultitenantPolicy. preInitialize(AbstractSession session)INTERNAL:voidVPDMultitenantPolicy. preInitialize(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.protected voidClassDescriptor. preInitializeInheritancePolicy(AbstractSession session)Hook together the inheritance policy tree.voidClassDescriptor. preInterfaceInitialization(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.voidDescriptorEventManager. processDescriptorEventHolders(AbstractSession session, ClassLoader classLoader)INTERNAL: This method was added to allow JPA project caching so that DescriptorEventListeners could be serialized and re-added to the EventManager using a SerializableDescriptorEventHolder.voidSerializedObjectPolicy. putObjectIntoRow(AbstractRecord databaseRow, Object object, AbstractSession session)Serialize the object and put the result into the row as a value corresponding to the policy fieldvoidClassDescriptor. rehashFieldDependancies(AbstractSession session)INTERNAL: Rehash any hashtables based on fields.voidDescriptorEventManager. remoteInitialization(AbstractSession session)INTERNAL: Used to initialize a remote DescriptorEventManager.voidCMPPolicy. remoteInitialize(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Initialize the CMPPolicy settings for remote sessions.protected Hashtable<DatabaseField,ReturningPolicy.Info>ReturningPolicy. removeDuplicateAndValidateInfos(AbstractSession session)booleanClassDescriptor. requiresInitialization(AbstractSession session)INTERNAL: Aggregate and Interface descriptors do not require initialization as they are cloned and initialized by each mapping.protected voidClassDescriptor. selfValidationAfterInitialization(AbstractSession session)INTERNAL: Validate that the descriptor was defined correctly.protected voidClassDescriptor. selfValidationBeforeInitialization(AbstractSession session)INTERNAL: Validate that the descriptor's non-mapping attribute are defined correctly.protected voidCMPPolicy. setFieldValue(CMPPolicy.KeyElementAccessor accessor, Object keyInstance, DatabaseMapping mapping, AbstractSession session, int[] elementIndex, Object... keyElements)INTERNAL: Recursive method to set a field value in the given key instance.voidFetchGroupManager. setObjectFetchGroup(Object source, FetchGroup fetchGroup, AbstractSession session)INTERNAL: Set fetch group into the object.voidDescriptorEvent. setSession(AbstractSession session)INTERNAL: The session in which the event is raised.booleanTablePerMultitenantPolicy. shouldInitialize(AbstractSession session)INTERNAL: This method is called during regular descriptor initialization.voidFetchGroupManager. unionEntityFetchGroupIntoObject(Object source, EntityFetchGroup newEntityFetchGroup, AbstractSession session, boolean shouldClone)INTERNAL: Union the fetch group of the domain object with the new fetch group.ObjectWrapperPolicy. unwrapObject(Object proxy, AbstractSession session)PUBLIC: Required: Unwrap the object to return the implementation that is meant to be used by EclipseLink.protected voidClassDescriptor. validateAfterInitialization(AbstractSession session)INTERNAL: Validate the entire post-initialization descriptor.protected voidClassDescriptor. validateBeforeInitialization(AbstractSession session)INTERNAL: Validate the entire pre-initialization descriptor.voidReturningPolicy. validationAfterDescriptorInitialization(AbstractSession session)INTERNAL:protected static booleanReturningPolicy. verifyField(AbstractSession session, DatabaseField field, ClassDescriptor descriptor)protected booleanReturningPolicy. verifyFieldAndMapping(AbstractSession session, DatabaseField field)protected static booleanReturningPolicy. verifyFieldAndMapping(AbstractSession session, DatabaseField field, ClassDescriptor descriptor, DatabaseMapping mapping)protected voidFieldsLockingPolicy. verifyUsage(AbstractSession session)INTERNAL: throw an exception if not inside a unit of work at this pointObjectWrapperPolicy. wrapObject(Object original, AbstractSession session)PUBLIC: Required: Wrap the object to return the implementation that the application requires. -
Uses of AbstractSession in org.eclipse.persistence.descriptors.changetracking
Methods in org.eclipse.persistence.descriptors.changetracking with parameters of type AbstractSession Modifier and Type Method Description ObjectChangeSetAttributeChangeTrackingPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSet(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetDeferredChangeDetectionPolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSetObjectChangeSetObjectChangePolicy. createObjectChangeSetThroughComparison(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, boolean isNew, AbstractSession session, ClassDescriptor descriptor)INTERNAL: Create ObjectChangeSet through comparison.voidDeferredChangeDetectionPolicy. initialize(AbstractSession session, ClassDescriptor descriptor)INTERNAL: initialize the PolicyvoidObjectChangePolicy. initialize(AbstractSession session, ClassDescriptor descriptor)INTERNAL: initialize the PolicyvoidObjectChangeTrackingPolicy. initialize(AbstractSession session, ClassDescriptor descriptor)INTERNAL: initialize the Policy -
Uses of AbstractSession in org.eclipse.persistence.descriptors.invalidation
Methods in org.eclipse.persistence.descriptors.invalidation with parameters of type AbstractSession Modifier and Type Method Description voidCacheInvalidationPolicy. initialize(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Allow initialization with the descriptor. -
Uses of AbstractSession in org.eclipse.persistence.descriptors.partitioning
Methods in org.eclipse.persistence.descriptors.partitioning with parameters of type AbstractSession Modifier and Type Method Description protected ObjectFieldPartitioningPolicy. extractPartitionValueForPersist(AbstractSession session, Object object, ClassDescriptor descriptor)INTERNAL: If persist should be partitioned, extra value from object.AccessorPartitioningPolicy. getAccessor(String poolName, AbstractSession session, DatabaseQuery query, boolean returnNullIfDead)INTERNAL: Return an accessor from the pool for the session.List<Accessor>CustomPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Forward to custom policyList<Accessor>HashPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.abstract List<Accessor>PartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)List<Accessor>PinnedPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RangePartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>ReplicationPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from each pool.List<Accessor>RoundRobinPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>UnionPartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.List<Accessor>ValuePartitioningPolicy. getConnectionsForQuery(AbstractSession session, DatabaseQuery query, AbstractRecord arguments)INTERNAL: Get a connection from one of the pools in a round robin rotation fashion.voidCustomPartitioningPolicy. initialize(AbstractSession session)INTERNAL: Initialize the policy.voidHashPartitioningPolicy. initialize(AbstractSession session)INTERNAL: Default the connection pools to all pools if unset.voidPartitioningPolicy. initialize(AbstractSession session)INTERNAL: Initialize the policy.voidReplicationPartitioningPolicy. initialize(AbstractSession session)INTERNAL: Default the connection pools to all pools if unset.voidHashPartitioningPolicy. partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor)INTERNAL: Allow for the persist call to assign the partition.voidPartitioningPolicy. partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor)INTERNAL: Allow for the persist call to assign the partition.voidRangePartitioningPolicy. partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor)INTERNAL: Allow for the persist call to assign the partition.voidValuePartitioningPolicy. partitionPersist(AbstractSession session, Object object, ClassDescriptor descriptor)INTERNAL: Allow for the persist call to assign the partition. -
Uses of AbstractSession in org.eclipse.persistence.eis
Methods in org.eclipse.persistence.eis with parameters of type AbstractSession Modifier and Type Method Description protected voidEISAccessor. basicBeginTransaction(AbstractSession session)Begin a local transaction.protected voidEISAccessor. basicCommitTransaction(AbstractSession session)Commit the local transaction.ObjectEISAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the interaction.voidEISAccessor. basicRollbackTransaction(AbstractSession session)Rollback the local transaction on the datasource.DatasourceCallEISDescriptor. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Override this method to throw an exception.DatasourceCallEISPlatform. buildCallFromStatement(SQLStatement statement, DatabaseQuery query, AbstractSession session)INTERNAL: Override this method to throw an exception by default.protected voidEISAccessor. buildConnectLog(AbstractSession session)If logging is turned on and the CCI implementation supports meta data then display connection info.ObjectEISDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectEISDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectEISDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.VectorEISDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build the nested rows.ObjectEISAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Avoid super to have logging occur after possible manual auto-commit.voidEISDescriptor. initialize(DescriptorQueryManager queryManager, AbstractSession session)INTERNAL: Initialize the query manager specific to the descriptor type.voidEISDescriptor. initialize(AbstractSession session)voidEISDescriptor. initializeAggregateInheritancePolicy(AbstractSession session)INTERNAL: This is needed by regular aggregate descriptors * but not by EIS aggregate descriptors.voidEISDescriptor. preInitialize(AbstractSession session)INTERNAL: Configure the object builder for the correct dataFormat.booleanEISDescriptor. requiresInitialization(AbstractSession session)INTERNAL: XML descriptors are initialized normally, since they do not need to be cloned by ESI aggregate mappings.static EISExceptionEISException. resourceException(jakarta.resource.ResourceException resourceException, EISAccessor accessor, AbstractSession session)static EISExceptionEISException. resourceException(jakarta.resource.ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session)static EISExceptionEISException. resourceException(Exception resourceException, EISAccessor accessor, AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.eis.interactions
Methods in org.eclipse.persistence.eis.interactions with parameters of type AbstractSession Modifier and Type Method Description voidEISInteraction. prepare(AbstractSession session)Set the default record name from the descriptor.voidQueryStringInteraction. prepare(AbstractSession session)Translate the custom query markers.voidXMLInteraction. prepare(AbstractSession session)Set the default record name from the descriptor.voidXQueryInteraction. prepare(AbstractSession session)INTERNAL: Translate the custom query markers.voidEISInteraction. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Arguments to the interaction can be passed two ways.voidQueryStringInteraction. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Allow the call to translate the query arguments.voidXQueryInteraction. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Allow the call to translate the XQuery arguments. -
Uses of AbstractSession in org.eclipse.persistence.eis.mappings
Methods in org.eclipse.persistence.eis.mappings with parameters of type AbstractSession Modifier and Type Method Description ObjectEISOneToManyMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectEISOneToManyMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.protected ObjectEISCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentsCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected ObjectEISCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected AbstractRecordEISCompositeCollectionMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord parentRow, DatabaseMapping.WriteType writeType)protected ObjectEISCompositeObjectMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord record, DatabaseMapping.WriteType writeType)protected ObjectEISOneToManyMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.ObjectEISOneToManyMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ExpressionEISOneToManyMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ObjectEISOneToManyMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.booleanEISOneToManyMapping. compareElements(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements and return true if they are alike.booleanEISOneToManyMapping. compareElementsForChange(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements and return true if they are alike.ChangeRecordEISOneToManyMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the changes between two collections.ChangeRecordEISOneToManyMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two collection attributes.booleanEISOneToManyMapping. compareObjects(Object object1, Object object2, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanEISOneToManyMappingHelper. compareObjects(Object object1, Object object2, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.protected AbstractRecordEISOneToManyMapping. extractKeyRowFromReferenceObject(Object object, AbstractSession session, AbstractRecord parentRecord)Build and return a database row that contains a foreign key for the specified reference object.VectorEISOneToManyMapping. getForeignKeyRows(AbstractRecord row, AbstractSession session)INTERNAL:voidEISCompositeCollectionMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidEISCompositeDirectCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidEISOneToManyMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidEISOneToOneMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.protected voidEISOneToOneMapping. initializeForeignKeys(AbstractSession session)INTERNAL: The foreign keys primary keys are stored as database fields in the hashtable.protected voidEISOneToManyMapping. initializeSelectionCriteria(AbstractSession session)INTERNAL: Selection criteria is created with source foreign keys and target keys.protected voidEISOneToOneMapping. initializeSelectionCriteria(AbstractSession session)INTERNAL: Selection criteria is created with source foreign keys and target keys.booleanEISOneToManyMapping. mapKeyHasChanged(Object element, AbstractSession session)INTERNAL: Return whether the element's user-defined Map key has changed since it was cloned from the original version.voidEISOneToManyMapping. mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If the mapping has a foreign key, it is order, so must use a different merge.voidEISOneToManyMappingHelper. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidEISOneToManyMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If the mapping has a foreign key, it is order, so must use a different merge.voidEISOneToManyMappingHelper. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidEISCompositeObjectMapping. postInitialize(AbstractSession session)INTERNAL: Initialize the mapping.voidEISCompositeCollectionMapping. preInitialize(AbstractSession session)Fix field names for XML data descriptors.voidEISCompositeObjectMapping. preInitialize(AbstractSession session)Fix field names for XML data descriptors.voidEISOneToManyMapping. preInitialize(AbstractSession session)Fix field names for XML data descriptors.voidEISOneToManyMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidEISOneToManyMappingHelper. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to add an object to a collection once the changeSet is applied.voidEISOneToManyMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidEISOneToManyMappingHelper. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to remove an object from a collection once the changeSet is applied.ObjectEISOneToManyMapping. 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.ObjectEISOneToOneMapping. 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.booleanEISOneToManyMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Used to verify whether the specified object is deleted or not.voidEISCompositeObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Build the value for the database field and put it in the specified database row.voidEISDirectMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: We override this method in order to set the session on the record if the data format is XML.voidEISOneToManyMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the appropriate attribute value from the object and put it in the appropriate field of the database row.voidEISOneToOneMapping. writeFromObjectIntoRow(Object object, AbstractRecord Record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidEISOneToManyMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord row, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidEISOneToManyMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidEISOneToManyMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidEISOneToManyMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the appropriate attribute value from the object and put it in the appropriate field of the database row.voidEISOneToManyMapping. writeInsertFieldsIntoRow(AbstractRecord row, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values. -
Uses of AbstractSession in org.eclipse.persistence.exceptions
Fields in org.eclipse.persistence.exceptions declared as AbstractSession Modifier and Type Field Description protected AbstractSessionEclipseLinkException. sessionMethods in org.eclipse.persistence.exceptions that return AbstractSession Modifier and Type Method Description AbstractSessionEclipseLinkException. getSession()PUBLIC: Return the session.Methods in org.eclipse.persistence.exceptions with parameters of type AbstractSession Modifier and Type Method Description static ValidationExceptionValidationException. cannotPersistExistingObject(Object registeredObject, AbstractSession session)booleanIntegrityChecker. checkTable(DatabaseTable table, AbstractSession session)INTERNAL: This method checks that tables are present in the database.static DatabaseExceptionDatabaseException. databaseAccessorConnectionIsNull(DatabaseAccessor databaseAccessor, AbstractSession session)static ValidationExceptionValidationException. excusiveConnectionIsNoLongerAvailable(DatabaseQuery query, AbstractSession session)voidIntegrityChecker. initializeTables(AbstractSession session)INTERNAL: This method is used to get all the database tables and add them into a vector.static QueryExceptionQueryException. partitioningNotSupported(AbstractSession session, DatabaseQuery query)static ValidationExceptionValidationException. projectLoginIsNull(AbstractSession session)voidEclipseLinkException. setSession(AbstractSession session)INTERNAL:static DatabaseExceptionDatabaseException. sqlException(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure)static DatabaseExceptionDatabaseException. sqlException(SQLException exception, AbstractSession session, boolean commError)static DatabaseExceptionDatabaseException. sqlException(SQLException exception, Call call, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) -
Uses of AbstractSession in org.eclipse.persistence.expressions
Fields in org.eclipse.persistence.expressions declared as AbstractSession Modifier and Type Field Description protected AbstractSessionExpressionBuilder. sessionMethods in org.eclipse.persistence.expressions that return AbstractSession Modifier and Type Method Description AbstractSessionExpression. getSession()INTERNAL:AbstractSessionExpressionBuilder. getSession()INTERNAL:Methods in org.eclipse.persistence.expressions with parameters of type AbstractSession 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 2612601ObjectExpression. getFieldValue(Object objectValue, AbstractSession session)INTERNAL: Transform the object-level value into a database-level valueClassDescriptorExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.ClassDescriptorExpressionBuilder. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.DatabaseMappingExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively.voidExpressionBuilder. setSession(AbstractSession session)INTERNAL: Set the session in which we expect this expression to be translated.ObjectExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy)INTERNAL: Return the value for in memory comparison.ObjectExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectExpressionBuilder. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: The expression builder represent the entire object, just return it. -
Uses of AbstractSession in org.eclipse.persistence.history
Methods in org.eclipse.persistence.history with parameters of type AbstractSession Modifier and Type Method Description ObjectHistoryPolicy. getCurrentTime(AbstractSession session)PUBLIC: Whenever a historical record is logically deleted (updated) or inserted, the end and start fields respectively will be set to this value.longHistoryPolicy. getMinimumTimeIncrement(AbstractSession session)INTERNAL: Return a minimal time increment supported by the platform.voidHistoryPolicy. initialize(AbstractSession session)INTERNAL: Initialize a HistoryPolicy.voidHistoryPolicy. mappingLogicalDelete(ModifyQuery originalQuery, AbstractRecord arguments, AbstractSession session)INTERNAL: Performs a logical delete (update) on the historical schema.voidHistoryPolicy. mappingLogicalInsert(DataModifyQuery originalQuery, AbstractRecord arguments, AbstractSession session)INTERNAL: Performs a logical insert into the historical schema. -
Uses of AbstractSession in org.eclipse.persistence.internal.databaseaccess
Fields in org.eclipse.persistence.internal.databaseaccess declared as AbstractSession Modifier and Type Field Description protected AbstractSessionDatasourceAccessor. currentSessionUsed only in externalConnectionPooling case.Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type AbstractSession Modifier and Type Method Description abstract voidBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall call)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.voidDynamicSQLBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.voidParameterizedSQLBatchWritingMechanism. appendCall(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is called by the DatabaseAccessor to add this statement to the list of statements being batched.static voidDatabaseCall. appendLogParameters(Collection parameters, Accessor accessor, StringWriter writer, AbstractSession session)Print the parameters to the write for logging purposes.voidDatabaseCall. appendParameter(Writer writer, Object parameter, boolean shouldBind, AbstractSession session)Add the parameter.voidDatasourceCall. appendParameter(Writer writer, Object parameter, boolean shouldBind, AbstractSession session)Add the parameter using the DatasourcePlatform.voidQueryStringCall. appendParameter(Writer writer, Object parameter, boolean shouldBind, AbstractSession session)Add the parameter.voidDatabaseAccessor. basicBeginTransaction(AbstractSession session)Begin a transaction on the database.protected abstract voidDatasourceAccessor. basicBeginTransaction(AbstractSession session)Begin the driver level transaction.voidDatabaseAccessor. basicCommitTransaction(AbstractSession session)Commit a transaction on the database.protected abstract voidDatasourceAccessor. basicCommitTransaction(AbstractSession session)Commit the driver level transaction.ObjectDatabaseAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session, boolean batch)Execute the call.protected abstract ObjectDatasourceAccessor. basicExecuteCall(Call call, AbstractRecord row, AbstractSession session)Execute the call to driver level datasource.voidDatabaseAccessor. basicRollbackTransaction(AbstractSession session)Rollback a transaction on the database.protected abstract voidDatasourceAccessor. basicRollbackTransaction(AbstractSession session)Rollback the driver level transaction.voidAccessor. beginTransaction(AbstractSession session)Begin a transaction on the data store.voidDatasourceAccessor. beginTransaction(AbstractSession session)Begin a transaction on the database.protected voidDatabaseAccessor. buildConnectLog(AbstractSession session)If logging is turned on and the JDBC implementation supports meta data then display connection info.protected abstract voidDatasourceAccessor. buildConnectLog(AbstractSession session)Build a log string of any driver metadata that can be obtained.AbstractRecordDatabaseAccessor. buildOutputRow(CallableStatement statement, DatabaseCall call, AbstractSession session)Build a row from the output parameters of a sp call.AbstractRecordDatabaseCall. buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session)INTERNAL: Return Record containing output fields and values.StringDatabasePlatform. buildProcedureCallString(StoredProcedureCall call, AbstractSession session, AbstractRecord row)Return the proc syntax for this platform.Vector<DatabaseField>DatabaseAccessor. buildSortedFields(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Return the field sorted in the correct order corresponding to the result set.protected Vector<AbstractRecord>DatabaseAccessor. buildThreadCursoredResult(DatabaseCall dbCall, ResultSet resultSet, Statement statement, ResultSetMetaData metaData, AbstractSession session)This allows for the rows to be fetched concurrently to the objects being built.protected voidBatchWritingMechanism. cacheQueryTimeout(AbstractSession session, DatabaseCall dbCall)INTERNAL: This function caches the largest query timeout encountered within all the calls in this batch, or uses the parent timeout if one of the calls references the parent.protected voidDatabaseAccessor. checkTransactionIsolation(AbstractSession session)Check to see if the transaction isolation needs to be set for the newly created connection.voidDatabaseAccessor. clearStatementCache(AbstractSession session)Flush the statement cache.voidDatabaseAccessor. closeCursor(ResultSet resultSet, AbstractSession session)Close the result set of the cursored stream.voidDatabaseAccessor. closeStatement(Statement statement, AbstractSession session, DatabaseCall call)INTERNAL: Closes a PreparedStatement (which is supposed to close it's current resultSet).voidAccessor. commitTransaction(AbstractSession session)Commit a transaction on the data store.voidDatabaseAccessor. commitTransaction(AbstractSession session)Commit a transaction on the database.voidDatasourceAccessor. commitTransaction(AbstractSession session)Commit a transaction on the database.voidAccessor. connect(Login login, AbstractSession session)Connect to the data store using the configuration information in the login.voidDatasourceAccessor. connect(Login login, AbstractSession session)Connect to the datasource.protected voidDatabaseAccessor. connectInternal(Login login, AbstractSession session)Connect to the database.protected voidDatasourceAccessor. connectInternal(Login login, AbstractSession session)Connect to the database.ObjectBindCallCustomParameter. convert(Object parameter, DatabaseField dbField, AbstractSession session, Connection connection)INTERNAL: Converts the parameter object from a collection or java object into a JDBC type such as an Array or Struct object, based on the type information contained in the dbField object.ArrayDatabasePlatform. createArray(String elementDataTypeName, Object[] elements, AbstractSession session, Connection connection)INTERNAL: This method builds an Array using the unwrapped connection within the sessionConnectionCustomizerDatasourcePlatform. createConnectionCustomizer(Accessor accessor, AbstractSession session)INTERNAL:voidAccessor. createCustomizer(AbstractSession session)Attempts to create ConnectionCustomizer.voidDatasourceAccessor. createCustomizer(AbstractSession session)Attempts to create ConnectionCustomizer.protected ObjectDatabaseCall. createInOutParameter(Object inValue, Object outParameter, AbstractSession session)INTERNAL: Returns INOUT parameter.protected ObjectDatasourceCall. createInOutParameter(Object inValue, Object outParameter, AbstractSession session)INTERNAL: Returns INOUT parameter.StructDatabasePlatform. createStruct(String structTypeName, Object[] attributes, AbstractRecord row, Vector<DatabaseField> orderedFields, AbstractSession session, Connection connection)INTERNAL: This method builds a Struct using the unwrapped connection within the sessionStructDatabasePlatform. createStruct(String structTypeName, Object[] attributes, AbstractSession session, Connection connection)INTERNAL: This method builds a Struct using the unwrapped connection within the sessionAbstractRecordDatabaseAccessor. cursorRetrieveNextRow(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Advance the result set and return a Record populated with values from the next valid row in the result set.AbstractRecordDatabaseAccessor. cursorRetrievePreviousRow(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Advance the result set and return a DatabaseRow populated with values from the next valid row in the result set.voidAccessor. disconnect(AbstractSession session)Disconnect from the data store.voidDatabaseAccessor. disconnect(AbstractSession session)Disconnect from the datasource.voidDatasourceAccessor. disconnect(AbstractSession session)Disconnect from the datasource.booleanDatabaseAccessor. execute(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.protected voidDatabaseAccessor. executeBatchedStatement(PreparedStatement statement, AbstractSession session)Execute the EclipseLink dynamically batched/concatenated statement.abstract voidBatchWritingMechanism. executeBatchedStatements(AbstractSession session)INTERNAL: This method is used by the DatabaseAccessor to clear the batched statements in the case that a non batchable statement is being executevoidDynamicSQLBatchWritingMechanism. executeBatchedStatements(AbstractSession session)INTERNAL: This method is used by the DatabaseAccessor to execute and clear the batched statements in the case that a non batchable statement is being executedvoidParameterizedSQLBatchWritingMechanism. executeBatchedStatements(AbstractSession session)INTERNAL: This method is used by the DatabaseAccessor to clear the batched statements in the case that a non batchable statement is being executedObjectAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatasourceAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. executeDirectNoSelect(Statement statement, DatabaseCall call, AbstractSession session)Execute the statement.protected intDatabaseAccessor. executeJDK12BatchStatement(Statement statement, DatabaseCall dbCall, AbstractSession session, boolean isStatementPrepared)Execute the batched statement through the JDBC2 API.protected ObjectDatabaseAccessor. executeNoSelect(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.ResultSetDatabaseAccessor. executeSelect(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.ObjectDatabasePlatform. executeStoredProcedure(DatabaseCall dbCall, PreparedStatement statement, DatabaseAccessor accessor, AbstractSession session)because each platform has different requirements for accessing stored procedures and the way that we can combine resultsets and output params, the stored procedure call is being executed on the platform.protected AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.voidAccessor. flushSelectCalls(AbstractSession session)Execute any deferred select calls.voidDatabaseAccessor. flushSelectCalls(AbstractSession session)Execute any deferred select calls stored in the LOBValueWriter instance.voidDatasourceAccessor. flushSelectCalls(AbstractSession session)Added as a result of Bug 2804663 - satisfy the Accessor interface implementation.BatchWritingMechanismDatabaseAccessor. getActiveBatchWritingMechanism(AbstractSession session)INTERNAL: This method is used internally to return the active batch writing mechanism to batch the statementVector<AbstractRecord>Accessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Return the column metadata for the specified selection criteria.Vector<AbstractRecord>Accessor. getColumnInfo(String tableName, String columnName, AbstractSession session)Return the column metadata for the specified selection criteria limited to the context of the currentAccessor.Vector<AbstractRecord>DatabaseAccessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Get a description of table columns available in a catalog.Vector<AbstractRecord>DatabaseAccessor. getColumnInfo(String tableName, String columnName, AbstractSession session)Vector<AbstractRecord>DatasourceAccessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Return column information for the specified database objects.Vector<AbstractRecord>DatasourceAccessor. getColumnInfo(String tableName, String columnName, AbstractSession session)protected Vector<DatabaseField>DatabaseAccessor. getColumnNames(ResultSet resultSet, AbstractSession session)Return the column names from a result sets meta data as a vector of DatabaseFields.ConnectionDatabasePlatform. getConnection(AbstractSession session, Connection connection)INTERNAL: This method is used to unwrap the oracle connection wrapped by the application server.ObjectDatabaseAccessor. getObject(ResultSet resultSet, DatabaseField field, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform, boolean optimizeData, AbstractSession session)Return an object retrieved from resultSet with the getObject() method.ObjectDatabasePlatform. getObjectFromResultSet(ResultSet resultSet, int columnNumber, int type, AbstractSession session)INTERNAL: Get the object from the JDBC Result set.protected ObjectDatabaseAccessor. getObjectThroughOptimizedDataConversion(ResultSet resultSet, DatabaseField field, int type, int columnNumber, DatabasePlatform platform, AbstractSession session)Handle theResultSetconversion into java optimally through calling the direct type API.ObjectDatabaseCall. getOutputParameterValue(CallableStatement statement, int index, AbstractSession session)INTERNAL: Get the return object from the statement.ObjectDatabaseCall. getOutputParameterValue(CallableStatement statement, String name, AbstractSession session)INTERNAL: Get the return object from the statement.ObjectDatabasePlatform. getParameterValueFromDatabaseCall(CallableStatement statement, int index, AbstractSession session)INTERNAL Get the parameter from the JDBC statement with the given index.ObjectDatabasePlatform. getParameterValueFromDatabaseCall(CallableStatement statement, String name, AbstractSession session)INTERNAL Get the parameter from the JDBC statement with the given name.StringDatabasePlatform. getProcedureArgument(String name, Object parameter, DatasourceCall.ParameterType parameterType, StoredProcedureCall call, AbstractSession session)Obtain the platform specific argument stringObjectDatabasePlatform. getRefValue(Ref ref, AbstractSession executionSession, Connection connection)INTERNAL: This method builds a REF using the unwrapped connection within the sessionVector<AbstractRecord>Accessor. getTableInfo(String tableName, String[] types, AbstractSession session)Return the table metadata for the specified selection criteria limited to the context of the currentAccessor.Vector<AbstractRecord>Accessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Return the table metadata for the specified selection criteria.Vector<AbstractRecord>DatabaseAccessor. getTableInfo(String tableName, String[] types, AbstractSession session)Vector<AbstractRecord>DatabaseAccessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Get a description of tables available in a catalog.Vector<AbstractRecord>DatasourceAccessor. getTableInfo(String tableName, String[] types, AbstractSession session)Vector<AbstractRecord>DatasourceAccessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Return table information for the specified database objects.TimestampDatasourcePlatform. getTimestampFromServer(AbstractSession session, String sessionName)Answer the timestamp from the server.TimestampPlatform. getTimestampFromServer(AbstractSession session, String sessionName)Answer the timestamp from the server.protected ObjectDatasourceCall. getValueForInOutParameter(Object parameter, AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Returns value for INOUT parameter.protected ObjectDatasourceCall. getValueForInParameter(Object parameter, AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session, boolean shouldBind)INTERNAL: Returns value for IN parameter.StringDatabasePlatform. getVPDCreationPolicyString(String tableName, AbstractSession session)Any platform that supports VPD should implement this method.StringDatabasePlatform. getVPDDeletionString(String tableName, AbstractSession session)Any platform that supports VPD should implement this method.voidAccessor. incrementCallCount(AbstractSession session)Increment the number of calls in progress.voidDatasourceAccessor. incrementCallCount(AbstractSession session)Used for load balancing and external pooling.voidBatchWritingMechanism. initialize(AbstractSession session)INTERNAL: Allow initialization with the session after login.voidDatasourcePlatform. initializeDefaultQueries(DescriptorQueryManager queryManager, AbstractSession session)INTERNAL: Allow the platform to initialize the CRUD queries to defaults.protected booleanDatabaseCall. isDynamicCall(AbstractSession session)Return if the call is dynamic SQL call.protected booleanDatabaseAccessor. isInBatchWritingMode(AbstractSession session)Return the batch writing mode.voidDatabaseCall. matchFieldOrder(ResultSet resultSet, DatabaseAccessor accessor, AbstractSession session)Allow for the field order to be matched if required.voidDatabaseAccessor. populateRow(DatabaseField[] fieldsArray, Object[] values, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session, int startIndex, int endIndex)voidDatabaseCall. prepare(AbstractSession session)INTERNAL: Allow pre-printing of the SQL string for fully bound calls, to save from reprinting.voidDatasourceCall. prepare(AbstractSession session)Allow pre-printing of the query/SQL string for fully bound calls, to save from reprinting.voidOutputParameterForCallableStatement. prepare(AbstractSession session)voidQueryStringCall. prepare(AbstractSession session)Allow pre-printing of the query/SQL string for fully bound calls, to save from reprinting.protected PreparedStatementDynamicSQLBatchWritingMechanism. prepareBatchStatement(AbstractSession session)INTERNAL: This method is used to build the batch statement by concatenating the strings together.protected PreparedStatementParameterizedSQLBatchWritingMechanism. prepareBatchStatements(AbstractSession session)INTERNAL: This method is used to build the parameterized batch statement for the JDBC2.0 specificationprotected voidDatabaseCall. prepareInternal(AbstractSession session)INTERNAL: Called by prepare method only.protected voidDatabaseCall. prepareInternalParameters(AbstractSession session)INTERNAL: Called by prepareInternal method only.protected StatementDynamicSQLBatchWritingMechanism. prepareJDK12BatchStatement(AbstractSession session)INTERNAL: This method is used to build the batch statement for the JDBC2.0 specificationPreparedStatementDatabaseAccessor. prepareStatement(String sql, AbstractSession session, boolean callable)Prepare the SQL statement for the call.StatementDatabaseAccessor. prepareStatement(DatabaseCall call, AbstractSession session)Prepare the SQL statement for the call.StatementDatabaseAccessor. prepareStatement(DatabaseCall call, AbstractSession session, boolean unwrapConnection)Prepare the SQL statement for the call.StatementDatabaseCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.DatabaseExceptionDatabaseAccessor. processExceptionForCommError(AbstractSession session, SQLException exception, Call call)This method is used to process an SQL exception and determine if the exception should be passed on for further processing.ObjectDatabaseAccessor. processResultSet(ResultSet resultSet, DatabaseCall call, Statement statement, AbstractSession session)Fetch all the rows from the result set.protected voidDatabaseAccessor. reconnect(AbstractSession session)Attempt to save some of the cost associated with getting a fresh connection.protected voidDatasourceAccessor. reconnect(AbstractSession session)Attempt to save some of the cost associated with getting a fresh connection.voidAccessor. reestablishConnection(AbstractSession session)Reconnect to the database.voidDatasourceAccessor. reestablishConnection(AbstractSession session)PUBLIC: Reconnect to the database.voidAccessor. releaseCustomizer(AbstractSession session)Clear and remove customizer if its session is the same as the passed one; in case prevCustomizer exists set it as a new customizer.voidDatasourceAccessor. releaseCustomizer(AbstractSession session)Clear and remove customizer if its session is the same as the passed one; in case prevCustomizer exists set it as a new customizer.voidDatabaseAccessor. releaseStatement(Statement statement, String sqlString, DatabaseCall call, AbstractSession session)Release the statement through closing it or putting it back in the statement cache.voidAccessor. rollbackTransaction(AbstractSession session)Roll back a transaction on the data store.voidDatabaseAccessor. rollbackTransaction(AbstractSession session)Rollback a transaction on the database.voidDatasourceAccessor. rollbackTransaction(AbstractSession session)Rollback the transaction on the datasource.voidBindCallCustomParameter. set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)Sets this bound parameter, on the given statement, for the given parameterName.voidBindCallCustomParameter. set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)Sets this bound parameter, on the given statement, at the given parameterIndex.voidInOutputParameterForCallableStatement. set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)voidInOutputParameterForCallableStatement. set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)voidInParameterForCallableStatement. set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)voidInParameterForCallableStatement. set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)voidOutputParameterForCallableStatement. set(DatabasePlatform platform, CallableStatement statement, String parameterName, AbstractSession session)voidOutputParameterForCallableStatement. set(DatabasePlatform platform, PreparedStatement statement, int parameterIndex, AbstractSession session)voidBatchWritingMechanism. setAccessor(DatabaseAccessor accessor, AbstractSession session)INTERNAL: Sets the accessor that this mechanism will usevoidDatabasePlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)INTERNAL Set the parameter in the JDBC statement with the given name.voidDatabasePlatform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index.booleanDatabaseCall. shouldCacheStatement(AbstractSession session)Bound calls can use prepared statement caching.booleanDatabasePlatform. shouldPrintFieldIdentityClause(AbstractSession session, String qualifiedFieldName)protected voidDynamicSQLBatchWritingMechanism. switchMechanisms(AbstractSession session, DatabaseCall dbCall)INTERNAL: This method is used to switch from this mechanism to the alternate automaticallyprotected voidParameterizedSQLBatchWritingMechanism. switchMechanisms(AbstractSession session, DatabaseCall dbCall)INTERNAL: Swaps out the Mechanism for the other MechanismvoidDatabaseCall. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Allow the call to translate from the translation for predefined calls.voidDatasourceCall. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Allow the call to translate from the translation for predefined calls.voidQueryStringCall. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Allow the call to translate from the translation for predefined calls.voidDatasourceCall. translateQueryString(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Allow the call to translate from the translation for predefined calls.voidQueryStringCall. translateQueryString(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Allow the call to translate from the translation for predefined calls.voidDatasourceCall. translateQueryStringAndBindParameters(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Allow the call to translate from the translation for predefined calls.voidDatasourceCall. translateQueryStringForParameterizedIN(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: Translate only IN() parameter values (List parameters).booleanDatasourceCall. usesBinding(AbstractSession session)Convenience methodbooleanDatabasePlatform. wasFailureCommunicationBased(SQLException exception, Connection connection, AbstractSession sessionForProfile)voidDatabasePlatform. writeAddColumnClause(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field)INTERNAL: May need to override this method if the platform supports ALTER TABLE ADD <column> and the generated sql doesn't work.voidDatabasePlatform. writeCreateTempTableSql(Writer writer, DatabaseTable table, AbstractSession session, Collection<DatabaseField> pkFields, Collection<DatabaseField> usedFields, Collection<DatabaseField> allFields)INTERNAL: Don't override this method.voidDatabasePlatform. writeLOB(DatabaseField field, Object value, ResultSet resultSet, AbstractSession session)INTERNAL: Write LOB value - only on Oracle8 and upvoidAccessor. writesCompleted(AbstractSession session)This method will be called after a series of writes have been issued to mark where a particular set of writes has completed.voidDatabaseAccessor. writesCompleted(AbstractSession session)This method will be called after a series of writes have been issued to mark where a particular set of writes has completed.voidDatasourceAccessor. writesCompleted(AbstractSession session)This method will be called after a series of writes have been issued to mark where a particular set of writes has completed.Constructors in org.eclipse.persistence.internal.databaseaccess with parameters of type AbstractSession Constructor Description InOutputParameterForCallableStatement(Object inParameter, DatabaseField outField, AbstractSession session)OutputParameterForCallableStatement(DatabaseField field, AbstractSession session)OutputParameterForCallableStatement(DatabaseField field, AbstractSession session, boolean isCursor) -
Uses of AbstractSession in org.eclipse.persistence.internal.descriptors
Fields in org.eclipse.persistence.internal.descriptors declared as AbstractSession Modifier and Type Field Description protected AbstractSessionDescriptorIterator. sessionMethods in org.eclipse.persistence.internal.descriptors that return AbstractSession Modifier and Type Method Description AbstractSessionDescriptorIterator. getSession()Methods in org.eclipse.persistence.internal.descriptors with parameters of type AbstractSession Modifier and Type Method Description voidOptimisticLockingPolicy. addLockFieldsToUpdateRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Add update fields for template row.voidObjectBuilder. addPrimaryKeyForNonDefaultTable(AbstractRecord databaseRow, Object object, AbstractSession session)Add the primary key and its value to the Record for all the non default tables.voidObjectBuilder. assignReturnRow(Object object, AbstractSession writeSession, AbstractRecord row, ObjectChangeSet changeSet)Assign the fields in the row back into the object.protected ObjectObjectBuilder. assignSequenceNumber(Object object, Object sequenceValue, AbstractSession writeSession, WriteObjectQuery writeQuery)INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.ObjectObjectBuilder. assignSequenceNumber(Object object, AbstractSession writeSession)INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.voidObjectBuilder. 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 booleanObjectBuilder. 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.ExpressionObjectBuilder. buildExpressionFromExample(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: This method is used when Query By Example is used.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.ObjectObjectBuilder. 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.ObjectObjectBuilder. 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.voidObjectBuilder. buildPrimaryKeyAttributesIntoObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session)INTERNAL: Build just the primary key mappings into the object.ExpressionObjectBuilder. buildPrimaryKeyExpressionFromKeys(Object primaryKey, AbstractSession session)Build the primary key expression from the specified primary key values.ExpressionObjectBuilder. buildPrimaryKeyExpressionFromObject(Object domainObject, AbstractSession session)Build the primary key expression from the specified domain 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.AbstractRecordObjectBuilder. buildRow(Object object, AbstractSession session, DatabaseMapping.WriteType writeType)Build the row representation of an object.AbstractRecordObjectBuilder. buildRow(AbstractRecord databaseRow, Object object, AbstractSession session, DatabaseMapping.WriteType writeType)Build the row representation of an object.AbstractRecordObjectBuilder. buildRowForShallowInsert(Object object, AbstractSession session)Build the row representation of the object for update.AbstractRecordObjectBuilder. buildRowForShallowInsert(AbstractRecord databaseRow, Object object, AbstractSession session)Build the row representation of the object for update.AbstractRecordObjectBuilder. buildRowForTranslation(Object object, AbstractSession session)Build the row representation of an object.AbstractRecordObjectBuilder. buildRowForUpdateAfterShallowInsert(Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert.AbstractRecordObjectBuilder. buildRowForUpdateAfterShallowInsert(AbstractRecord databaseRow, Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert.AbstractRecordObjectBuilder. buildRowForUpdateBeforeShallowDelete(Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert, with all values set to null.AbstractRecordObjectBuilder. buildRowForUpdateBeforeShallowDelete(AbstractRecord databaseRow, Object object, AbstractSession session, DatabaseTable table)Build the row representation of the object that contains only the fields nullified by shallow insert, with all values set to null.AbstractRecordObjectBuilder. buildRowFromPrimaryKeyValues(Object key, AbstractSession session)Build the row from the primary key values.AbstractRecordObjectBuilder. buildRowWithChangeSet(AbstractRecord databaseRow, ObjectChangeSet objectChangeSet, AbstractSession session, DatabaseMapping.WriteType writeType)Build the row representation of an object.AbstractRecordObjectBuilder. buildTemplateInsertRow(AbstractSession session)Build the row of all of the fields used for insertion.voidObjectBuilder. buildTemplateInsertRow(AbstractSession session, AbstractRecord databaseRow)AbstractRecordObjectBuilder. buildTemplateUpdateRow(AbstractSession session)Build the row representation of the object for update.voidObjectBuilder. cacheForeignKeyValues(Object source, CacheKey cacheKey, ClassDescriptor descriptor, AbstractSession session)INTERNAL: This method is used to store the FK values used for this mapping in the cachekey.voidObjectBuilder. cacheForeignKeyValues(AbstractRecord databaseRecord, CacheKey cacheKey, AbstractSession session)INTERNAL: This method is used to store the FK values used for this mapping in the cachekey.ObjectChangeSetObjectBuilder. compareForChange(Object clone, Object backUp, UnitOfWorkChangeSet changeSet, AbstractSession session)INTERNAL: This method creates a records change set for a particular object.booleanObjectBuilder. compareObjects(Object firstObject, Object secondObject, AbstractSession session)Compares the two specified objectsprotected voidObjectBuilder. copyQueryInfoToCacheKey(CacheKey cacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, ClassDescriptor concreteDescriptor)Initialize a cache key.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, boolean assignPrimaryKeyIfExisting, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, boolean isNew, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.ObjectChangeSetObjectBuilder. createObjectChangeSet(Object clone, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Used by the ObjectBuilder to create an ObjectChangeSet for the specified clone object.voidObjectBuilder. createPrimaryKeyExpression(AbstractSession session)Creates and stores primary key expression.AbstractRecordObjectBuilder. createRecord(int size, AbstractSession session)Create a new row/record for the object builder.AbstractRecordObjectBuilder. createRecord(AbstractSession session)Create a new row/record for the object builder.protected AbstractRecordObjectBuilder. createRecordForPKExtraction(int size, AbstractSession session)Create a new row/record for the object builder.ObjectObjectBuilder. extractPrimaryKeyFromExpression(boolean requiresExactMatch, Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row with primary keys and their values from the given expression.ObjectObjectBuilder. extractPrimaryKeyFromObject(Object domainObject, AbstractSession session)Extract primary key attribute values from the domainObject.ObjectObjectBuilder. extractPrimaryKeyFromObject(Object domainObject, AbstractSession session, boolean shouldReturnNullIfNull)Extract primary key attribute values from the domainObject.ObjectObjectBuilder. extractPrimaryKeyFromRow(AbstractRecord databaseRow, AbstractSession session)Extract primary key values from the specified row.AbstractRecordObjectBuilder. extractPrimaryKeyRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row with primary keys and their values from the given expression.AbstractRecordObjectBuilder. extractPrimaryKeyRowFromObject(Object domainObject, AbstractSession session)Extract primary key attribute values from the domainObject.AbstractRecordObjectBuilder. extractRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row from the given expression.ObjectObjectBuilder. extractValueFromObjectForField(Object domainObject, DatabaseField field, AbstractSession session)Extract the value of the primary key attribute from the specified object.ChangeRecordObjectBuilder. getBaseChangeRecordForField(ObjectChangeSet objectChangeSet, Object object, DatabaseField databaseField, AbstractSession session)Return the base ChangeRecord for the given DatabaseField.ObjectSerializedObjectPolicyWrapper. getObjectFromRow(AbstractRecord databaseRow, AbstractSession session, ObjectLevelReadQuery query)<T> TOptimisticLockingPolicy. getValueToPutInCache(AbstractRecord row, AbstractSession session)INTERNAL: Return the value that should be stored in the identity map.intOptimisticLockingPolicy. getVersionDifference(Object currentValue, Object domainObject, Object primaryKey, AbstractSession session)PUBLIC: Return the number of versions different between these objects.ExpressionOptimisticLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: This method will return an expression that is used to update its optimistic locking field #see this method in VersionLockingPolicy<T> TOptimisticLockingPolicy. getWriteLockValue(Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: This method will return the optimistic lock value for the object #see this method in VersionLockingPolicyvoidInstantiationPolicy. initialize(AbstractSession session)If necessary, initialize the factory and the method.voidObjectBuilder. initialize(AbstractSession session)Cache all the mappings by their attribute and fields.voidOptimisticLockingPolicy. initialize(AbstractSession session)INTERNAL: It is responsible for initializing the policy.voidSerializedObjectPolicyWrapper. initialize(AbstractSession session)voidAbstractSerializedObjectPolicy. initializeField(AbstractSession session)voidSerializedObjectPolicyWrapper. initializeField(AbstractSession session)voidObjectBuilder. initializePrimaryKey(AbstractSession session)Cache primary key and non primary key mappings.ObjectObjectBuilder. instantiateClone(Object domainObject, AbstractSession session)Returns the clone of the specified object.voidObjectBuilder. instantiateEagerMappings(Object object, AbstractSession session)Force instantiation to any eager mappings.ObjectObjectBuilder. instantiateWorkingCopyClone(Object domainObject, AbstractSession session)Returns the clone of the specified object.booleanOptimisticLockingPolicy. isNewerVersion(Object currentValue, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Returns true if the value stored with the domainObject is more recent than the value .booleanOptimisticLockingPolicy. isNewerVersion(AbstractRecord databaseRow, Object domainObject, Object primaryKey, AbstractSession session)INTERNAL: Returns true if the value stored with the domainObject is more recent than the value in the row.booleanObjectBuilder. isPrimaryKeyExpression(boolean requiresExactMatch, Expression expression, AbstractSession session)Return if the expression is by primary key.voidObjectBuilder. load(Object object, AttributeGroup group, AbstractSession session, boolean fromFetchGroup)Force instantiation to any mappings in the load group.voidObjectBuilder. loadAll(Object object, AbstractSession session)Force instantiation of all indirections.voidObjectBuilder. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)voidObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeChangesIntoObject(Object target, ObjectChangeSet changeSet, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)INTERNAL: Merge changes between the objects, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeIntoObject(Object target, boolean isUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge the contents of one object into another, this merge algorithm is dependent on the merge manager.voidObjectBuilder. mergeIntoObject(Object target, ObjectChangeSet changeSet, boolean isUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession, boolean cascadeOnly, boolean isTargetCloneOfOriginal, boolean shouldMergeFetchGroup)INTERNAL: Merge the contents of one object into another, this merge algorithm is dependent on the merge manager.voidObjectBuilder. populateAttributesForClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)Clones the attributes of the specified object.voidObjectBuilder. postInitialize(AbstractSession session)INTERNAL: Post initializations after mappings are initialized.voidSerializedObjectPolicyWrapper. postInitialize(AbstractSession session)voidSerializedObjectPolicyWrapper. putObjectIntoRow(AbstractRecord databaseRow, Object object, AbstractSession session)protected booleanObjectBuilder. 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 refreshedvoidObjectBuilder. rehashFieldDependancies(AbstractSession session)Rehash any maps based on fields.voidDescriptorIterator. setSession(AbstractSession session)voidObjectBuilder. trimFieldsForInsert(AbstractSession session, AbstractRecord databaseRow)INTERNAL Remove a potential sequence number field and invoke the ReturningPolicy trimModifyRowsForInsert methodObjectObjectBuilder. unwrapObject(Object proxy, AbstractSession session)Unwrap the object if required.voidObjectBuilder. validate(AbstractSession session)Validates the object builder.booleanObjectBuilder. verifyDelete(Object object, AbstractSession session)Verify that an object has been deleted from the database.ObjectObjectBuilder. wrapObject(Object implementation, AbstractSession session)Wrap the object if required.AbstractRecordObjectBuilder. writeIntoRowFromPrimaryKeyValues(AbstractRecord row, Object primaryKey, AbstractSession session, boolean convert)Build the row from the primary key values. -
Uses of AbstractSession in org.eclipse.persistence.internal.expressions
Fields in org.eclipse.persistence.internal.expressions declared as AbstractSession Modifier and Type Field Description protected AbstractSessionExpressionNormalizer. sessionThe session being normalized in.protected AbstractSessionExpressionSQLPrinter. sessionStores the current session.Methods in org.eclipse.persistence.internal.expressions that return AbstractSession Modifier and Type Method Description AbstractSessionExpressionNormalizer. getSession()protected AbstractSessionExpressionSQLPrinter. getSession()Methods in org.eclipse.persistence.internal.expressions with parameters of type AbstractSession Modifier and Type Method Description DatabaseCallSQLDeleteAllStatement. buildCall(AbstractSession session)Return SQL call for the statement, through generating the SQL string.DatabaseCallSQLDeleteStatement. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLModifyAllStatementForTempTable. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLModifyStatement. buildCall(AbstractSession session)DatabaseCallSQLSelectStatement. buildCall(AbstractSession session)Print the SQL representation of the statement on a stream.DatabaseCallSQLSelectStatement. buildCall(AbstractSession session, DatabaseQuery query)Build the call, setting the query first, this is required in some cases when the query info is required to print the SQL.abstract DatabaseCallSQLStatement. buildCall(AbstractSession session)Return SQL call for the statement, through generating the SQL string.DatabaseCallSQLUpdateAllStatement. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.DatabaseCallSQLUpdateAllStatementForOracleAnonymousBlock. buildCall(AbstractSession session)Append the string containing the SQL insert string for the given table.protected SQLCallSQLInsertStatement. buildCallWithoutReturning(AbstractSession session)Append the string containing the SQL insert string for the given table.protected SQLCallSQLModifyStatement. buildCallWithoutReturning(AbstractSession session)protected SQLCallSQLUpdateStatement. buildCallWithoutReturning(AbstractSession session)Append the string containing the SQL insert string for the given table.protected SQLCallSQLUpdateAllStatement. buildSimple(AbstractSession session)ClassDescriptorObjectExpression. convertToCastDescriptor(ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL Return the descriptor which contains this query key, look in the inheritance hierarchy of rootDescriptor for the descriptor.ClassDescriptorTreatAsExpression. convertToCastDescriptor(ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL - Return the descriptor which contains this query key, look in the inheritance hierarchy of rootDescriptor for the descriptor.protected booleanRelationExpression. doesAnyOfLeftValuesConform(Vector leftValues, Object rightValue, AbstractSession session)Conform in-memory the collection of left values with the right value for this expression.booleanFunctionExpression. doesConform(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Check if the object conforms to the expression in memory.booleanLogicalExpression. doesConform(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean objectIsUnregistered)INTERNAL: Check if the object conforms to the expression in memory.booleanRelationExpression. doesConform(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Check if the object conforms to the expression in memory.booleanRelationExpression. doesObjectConform(Object leftValue, Object rightValue, AbstractSession session)INTERNAL: Check if the object conforms to the expression in memory.protected booleanRelationExpression. doValuesConform(Object leftValue, Object rightValue, AbstractSession session)Conform in-memory the two values.ObjectClassTypeExpression. getFieldValue(Object objectValue, AbstractSession session)INTERNAL: Transform the object-level value into a database-level value objectValue is a Class or collection of Class objects and the returned value is the database representation Example: ObjectValue=LargeProject returns "L".ObjectFieldExpression. getFieldValue(Object value, AbstractSession session)INTERNAL: Provide for conversion of the passed object's value, based on the referenced field value.ObjectQueryKeyExpression. getFieldValue(Object objectValue, AbstractSession session)INTERNAL: Transform the object-level value into a database-level valueObjectTreatAsExpression. getFieldValue(Object objectValue, AbstractSession session)ClassDescriptorQueryKeyExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the descriptor for this item by traversing its expression recursively.ClassDescriptorTreatAsExpression. getLeafDescriptor(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)DatabaseMappingFunctionExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively.DatabaseMappingQueryKeyExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the mapping for this item by traversing its expression recursively.DatabaseMappingTreatAsExpression. getLeafMapping(DatabaseQuery query, ClassDescriptor rootDescriptor, AbstractSession session)protected QueryKeyFunctionExpression. getLeafQueryKeyFor(DatabaseQuery query, Expression expression, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the query key for this item.ObjectParameterExpression. getValue(AbstractRecord translationRow, AbstractSession session)Extract the value from the row.ObjectParameterExpression. getValue(AbstractRecord translationRow, DatabaseQuery query, AbstractSession session)Extract the value from the row.booleanObjectExpression. isDowncast(ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL Return true if it uses a cast class and query is downcasting.protected booleanRelationExpression. isObjectComparison(AbstractSession session)INTERNAL: Return if the represents an object comparison.voidSQLSelectStatement. normalize(AbstractSession session, ClassDescriptor descriptor)INTERNAL: Normalize an expression into a printable structure.voidSQLSelectStatement. normalize(AbstractSession session, ClassDescriptor descriptor, Map clonedExpressions)INTERNAL: Normalize an expression into a printable structure.voidSQLSelectStatement. normalizeForView(AbstractSession theSession, ClassDescriptor theDescriptor, Map clonedExpressions)INTERNAL: Normalize an expression mapping all of the descriptor's tables to the view.protected voidSQLSelectStatement. normalizeOrderBy(Expression builder, List<Expression> allExpressions, Map<Expression,Expression> clonedExpressions, AbstractSession session)Check the order by for object expressions.voidExpressionNormalizer. setSession(AbstractSession session)protected voidExpressionSQLPrinter. setSession(AbstractSession theSession)ObjectClassTypeExpression. typeValueFromObject(Object object, AbstractSession session)INTERNAL This method returns the inheritance field value for an object to conform in an in-memory query.ObjectClassTypeExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectCollectionExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectConstantExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectFieldExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectFunctionExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectLiteralExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectParameterExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectQueryKeyExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL: Return the value for in memory comparison.ObjectTreatAsExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy)ObjectTreatAsExpression. valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)ObjectQueryKeyExpression. valuesFromCollection(Object object, AbstractSession session, int valueHolderPolicy, boolean isObjectUnregistered)INTERNAL This method iterates through a collection and gets the values from the objects to conform in an in-memory query.protected voidSQLDeleteAllStatementForTempTable. writeUpdateOriginalTable(AbstractSession session, Writer writer)protected abstract voidSQLModifyAllStatementForTempTable. writeUpdateOriginalTable(AbstractSession session, Writer writer)protected voidSQLUpdateAllStatementForTempTable. writeUpdateOriginalTable(AbstractSession session, Writer writer)Constructors in org.eclipse.persistence.internal.expressions with parameters of type AbstractSession Constructor Description ExpressionSQLPrinter(AbstractSession session, AbstractRecord translationRow, SQLCall call, boolean printQualifiedNames, ExpressionBuilder builder) -
Uses of AbstractSession in org.eclipse.persistence.internal.helper
Fields in org.eclipse.persistence.internal.helper with type parameters of type AbstractSession Modifier and Type Field Description static Class<AbstractSession>ClassConstants. PublicInterfaceSession_ClassMethods in org.eclipse.persistence.internal.helper with parameters of type AbstractSession Modifier and Type Method Description CacheKeyWriteLockManager. acquireLockAndRelatedLocks(Object objectForClone, Map lockedObjects, Map refreshedObjects, CacheKey cacheKey, ClassDescriptor descriptor, AbstractSession cloningSession)INTERNAL: This is a recursive method used to acquire read locks on all objects that will be cloned.MapWriteLockManager. acquireLocksForClone(Object objectForClone, ClassDescriptor descriptor, CacheKey cacheKey, AbstractSession cloningSession)INTERNAL: This method will return once the object is locked and all non-indirect related objects are also locked.CacheKeyWriteLockManager. appendLock(Object primaryKey, Object objectToLock, ClassDescriptor descriptor, MergeManager mergeManager, AbstractSession session)INTERNAL: This method will be called by a merging thread that is attempting to lock a new object that was not locked previously.protected CacheKeyWriteLockManager. attemptToAcquireLock(ClassDescriptor descriptor, Object primaryKey, AbstractSession session)INTERNAL: This method performs the operations of finding the cacheKey and locking it if possible.protected voidLOBValueWriter. buildAndExecuteCall(DatabaseCall dbCall, AbstractSession session)voidLOBValueWriter. buildAndExecuteSelectCalls(AbstractSession session)Build and execute the deferred select calls.protected CacheKeyWriteLockManager. checkAndLockObject(Object objectToLock, Map lockedObjects, Map refreshedObjects, DatabaseMapping mapping, AbstractSession cloningSession)INTERNAL: Simply check that the object is not already locked then pass it on to the locking methodCacheKeyWriteLockManager. traverseRelatedLocks(Object objectForClone, Map lockedObjects, Map refreshedObjects, ClassDescriptor descriptor, AbstractSession cloningSession)INTERNAL: Traverse the object and acquire locks on all related objects.protected CacheKeyWriteLockManager. waitOnObjectLock(ClassDescriptor descriptor, Object primaryKey, AbstractSession session, int waitTime)INTERNAL: This method performs the operations of finding the cacheKey and locking it if possible. -
Uses of AbstractSession in org.eclipse.persistence.internal.identitymaps
Fields in org.eclipse.persistence.internal.identitymaps declared as AbstractSession Modifier and Type Field Description protected AbstractSessionAbstractIdentityMap. sessionSession that the map is onprotected AbstractSessionIdentityMapManager. sessionA reference to the session owning this manager.Methods in org.eclipse.persistence.internal.identitymaps that return AbstractSession Modifier and Type Method Description protected AbstractSessionIdentityMapManager. getSession()Methods in org.eclipse.persistence.internal.identitymaps with parameters of type AbstractSession Modifier and Type Method Description Map<Object,CacheKey>AbstractIdentityMap. getAllCacheKeysFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Map<Object,CacheKey>IdentityMap. getAllCacheKeysFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Map<Object,CacheKey>IdentityMapManager. getAllCacheKeysFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Map<Object,Object>AbstractIdentityMap. getAllFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Map<Object,Object>IdentityMap. getAllFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Map<Object,Object>IdentityMapManager. getAllFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.protected voidIdentityMapManager. setSession(AbstractSession session)Constructors in org.eclipse.persistence.internal.identitymaps with parameters of type AbstractSession Constructor Description AbstractIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)Instantiate an new IdentityMap with it's maximum size.CacheIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)FullIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)HardCacheWeakIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isIsolated)IdentityMapManager(AbstractSession session)NoIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)SoftCacheWeakIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isIsolated)SoftIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isIsolated)UnitOfWorkIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)WeakIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated)WeakUnitOfWorkIdentityMap(int size, ClassDescriptor descriptor, AbstractSession session, boolean isolated) -
Uses of AbstractSession in org.eclipse.persistence.internal.indirection
Fields in org.eclipse.persistence.internal.indirection declared as AbstractSession Modifier and Type Field Description protected AbstractSessionDatabaseValueHolder. sessionStores the session for the database that contains the object.Methods in org.eclipse.persistence.internal.indirection that return AbstractSession Modifier and Type Method Description AbstractSessionBackupValueHolder. getSession()AbstractSessionDatabaseValueHolder. getSession()Return the session.Methods in org.eclipse.persistence.internal.indirection with parameters of type AbstractSession Modifier and Type Method Description ObjectBasicIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Return a clone of the attribute.ObjectContainerIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Return a clone of the attribute.abstract ObjectIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Return a clone of the attribute.ObjectNoIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Return a clone of the attribute.ObjectProxyIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Return a clone of the attribute.ObjectTransparentIndirectionPolicy. cloneAttribute(Object attributeValue, Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession, boolean buildDirectlyFromRow)Return a clone of the attribute.ObjectBasicIndirectionPolicy. extractPrimaryKeyForReferenceObject(Object referenceObject, AbstractSession session)INTERNAL: Return the primary key for the reference object (i.e.ObjectIndirectionPolicy. extractPrimaryKeyForReferenceObject(Object referenceObject, AbstractSession session)INTERNAL: Return the primary key for the reference object (i.e.ObjectTransparentIndirectionPolicy. extractPrimaryKeyForReferenceObject(Object referenceObject, AbstractSession session)INTERNAL: Return the primary key for the reference object (i.e.ObjectBasicIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectContainerIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.abstract ObjectIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectNoIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectProxyIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectTransparentIndirectionPolicy. getOriginalIndirectionObject(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectBasicIndirectionPolicy. getOriginalIndirectionObjectForMerge(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectContainerIndirectionPolicy. getOriginalIndirectionObjectForMerge(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectIndirectionPolicy. getOriginalIndirectionObjectForMerge(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectTransparentIndirectionPolicy. getOriginalIndirectionObjectForMerge(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original indirection object for a unit of work indirection object.ObjectBasicIndirectionPolicy. getOriginalValueHolder(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original valueHolder object.abstract ObjectIndirectionPolicy. getOriginalValueHolder(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original valueHolder object.ObjectNoIndirectionPolicy. getOriginalValueHolder(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original valueHolder object.ObjectTransparentIndirectionPolicy. getOriginalValueHolder(Object unitOfWorkIndirectionObject, AbstractSession session)INTERNAL: Return the original valueHolder object.protected TBatchValueHolder. instantiate(AbstractSession session)Instantiate the object by having the mapping extract its value from the query.protected TCacheBasedValueHolder. instantiate(AbstractSession localSession)protected TEISOneToManyQueryBasedValueHolder. instantiate(AbstractSession session)protected TQueryBasedValueHolder. instantiate(AbstractSession session)Instantiate the object by executing the query on the session.protected TTransformerBasedValueHolder. instantiate(Object object, AbstractSession session)voidDatabaseValueHolder. releaseWrappedValueHolder(AbstractSession targetSession)Releases a wrapped valueholder privately owned by a particular unit of work.voidQueryBasedValueHolder. releaseWrappedValueHolder(AbstractSession targetSession)Releases a wrapped valueholder privately owned by a particular unit of work.voidUnitOfWorkValueHolder. releaseWrappedValueHolder(AbstractSession targetSession)Releases a wrapped valueholder privately owned by a particular unit of work.voidDatabaseValueHolder. setSession(AbstractSession session)Set the session.ObjectBasicIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectContainerIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.abstract ObjectIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectNoIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectProxyIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectTransparentIndirectionPolicy. valueFromMethod(Object object, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectBasicIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, Object sourceObject, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectBasicIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectContainerIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.abstract ObjectIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, Object sourceObject, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.abstract ObjectIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectNoIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, Object sourceObject, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectNoIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectProxyIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.ObjectTransparentIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, Object object, AbstractSession session)INTERNAL: A combination of valueFromQuery and valueFromRow(object).ObjectTransparentIndirectionPolicy. valueFromQuery(ReadQuery query, AbstractRecord row, AbstractSession session)INTERNAL: Return the value to be stored in the object's attribute.Constructors in org.eclipse.persistence.internal.indirection with parameters of type AbstractSession Constructor Description CacheBasedValueHolder(Object[] pks, AbstractRecord foreignKeys, AbstractSession session, ForeignReferenceMapping mapping)EISOneToManyQueryBasedValueHolder(EISOneToManyMapping mapping, ReadQuery query, AbstractRecord sourceRow, AbstractSession session)ProtectedValueHolder(ValueHolderInterface<T> attributeValue, DatabaseMapping mapping, AbstractSession cloningSession)QueryBasedValueHolder(ReadQuery query, Object sourceObject, AbstractRecord row, AbstractSession session)Initialize the query-based value holder.QueryBasedValueHolder(ReadQuery query, AbstractRecord row, AbstractSession session)Initialize the query-based value holder.TransformerBasedValueHolder(AttributeTransformer theTransformer, Object theObject, AbstractRecord theRow, AbstractSession theSession)Initialize the method-based value holder. -
Uses of AbstractSession in org.eclipse.persistence.internal.jpa.jpql
Methods in org.eclipse.persistence.internal.jpa.jpql with parameters of type AbstractSession Modifier and Type Method Description DatabaseQueryHermesParser. buildQuery(CharSequence jpqlQuery, AbstractSession session)ExpressionHermesParser. buildSelectionCriteria(String entityName, String selectionCriteria, AbstractSession session)List<ClassDescriptor>JPQLQueryHelper. getClassDescriptors(CharSequence jpqlQuery, AbstractSession session)Retrieves the list ofdescriptorscorresponding to the entities used throughout the given JPQL query.List<ConstructorQueryMappings>JPQLQueryHelper. getConstructorQueryMappings(AbstractSession session)Retrieves the class names and the attribute names mapped to their types that are used in the constructor expressions defined in theSELECTclause.ConstructorQueryMappingsJPQLQueryHelper. getConstructorQueryMappings(AbstractSession session, DatabaseQuery query)Retrieves the class names and the attribute names mapped to their types that are used in the constructor expressions defined in theSELECTclause.voidHermesParser. populateQuery(CharSequence jpqlQuery, DatabaseQuery query, AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type AbstractSession Modifier and Type Method Description voidXMLAccessor. basicBeginTransaction(AbstractSession session)Begin a transaction on the "data store".voidXMLAccessor. basicCommitTransaction(AbstractSession session)Commit the transaction to the "data store".ObjectXMLAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)voidXMLAccessor. basicRollbackTransaction(AbstractSession session)Rollback the transaction on the "data store".voidXMLObjectBuilder. 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.protected voidXMLAccessor. buildConnectLog(AbstractSession session)Log any driver level connection meta-data if available.AbstractRecordXMLObjectBuilder. buildIntoNestedRow(AbstractRecord row, Object originalObject, Object object, AbstractSession session, Descriptor refDesc, Field xmlField, boolean wasXMLRoot)AbstractRecordXMLObjectBuilder. buildIntoNestedRow(AbstractRecord row, Object object, AbstractSession session)AbstractRecordXMLObjectBuilder. buildIntoNestedRow(AbstractRecord row, Object object, AbstractSession session, Descriptor refDesc, Field xmlField)AbstractRecordTreeObjectBuilder. buildRow(AbstractRecord record, Object object, AbstractSession session, DatabaseMapping.WriteType writeType)AbstractRecordXMLObjectBuilder. buildRow(Object object, AbstractSession session, DatabaseField xmlField, XMLRecord parentRecord)Build the nested row into the parent dom.AbstractRecordXMLObjectBuilder. buildRow(AbstractRecord databaseRow, Object object, AbstractSession session)AbstractRecordXMLObjectBuilder. buildRow(AbstractRecord databaseRow, Object object, AbstractSession session, boolean wasXMLRoot)Class<?>QNameInheritancePolicy. classFromRow(AbstractRecord rowFromDatabase, AbstractSession session)INTERNAL: This method is invoked only for the abstract descriptors.Class<?>TreeObjectBuilder. classFromRow(UnmarshalRecord unmarshalRecord, AbstractSession session)protected voidXMLAccessor. connectInternal(Login login, AbstractSession session)By default the SDK does not have a connection, so use an object as a placeholder.protected AbstractRecordXMLAccessor. convert(AbstractRecord row, AbstractSession session)Convert the specified row into something suitable for the calls.AbstractRecordTreeObjectBuilder. createRecord(int size, AbstractSession session)Create a new row/record for the object builder.AbstractMarshalRecordTreeObjectBuilder. createRecord(String rootName, AbstractSession session)Create a new row/record for the object builder with the given name.AbstractMarshalRecordTreeObjectBuilder. createRecord(String rootName, Node parent, AbstractSession session)Create a new row/record for the object builder with the given name.AbstractRecordTreeObjectBuilder. createRecord(AbstractSession session)Create a new row/record for the object builder.AbstractRecordXMLObjectBuilder. createRecord(int size, AbstractSession session)Create a new row/record for the object builder.AbstractRecordXMLObjectBuilder. createRecord(String rootName, String rootUri, AbstractSession session)Create a new row/record for the object builder with the given name and namespace resolver instead of the namespace resolver from the descriptor.AbstractMarshalRecordXMLObjectBuilder. createRecord(String rootName, AbstractSession session)Create a new row/record for the object builder with the given name.AbstractMarshalRecordXMLObjectBuilder. createRecord(String rootName, Node parent, AbstractSession session)Create a new row/record for the object builder with the given name.AbstractRecordXMLObjectBuilder. createRecord(AbstractSession session)Create a new row/record for the object builder.protected AbstractRecordXMLObjectBuilder. createRecordForPKExtraction(int size, AbstractSession session)Create a new row/record for the object builder.ObjectXMLObjectBuilder. extractPrimaryKeyFromExpression(boolean requiresExactMatch, Expression expression, AbstractRecord translationRow, AbstractSession session)Override method in superclass in order to set the session on the record.ObjectXMLObjectBuilder. extractPrimaryKeyFromObject(Object domainObject, AbstractSession session)AbstractRecordXMLObjectBuilder. extractPrimaryKeyRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Override method in superclass in order to set the session on the record.voidQNameInheritancePolicy. initialize(AbstractSession session)INTERNAL: Initialized the inheritance properties of the descriptor once the mappings are initialized.voidTreeObjectBuilder. initialize(AbstractSession session)voidXMLObjectBuilder. initialize(AbstractSession session)voidXMLSequencedDescriptor. initialize(AbstractSession session)voidQNameInheritancePolicy. preInitialize(AbstractSession session)INTERNAL: Allow the inheritance properties of the descriptor to be initialized.voidXMLObjectBuilder. writeOutMappings(XMLRecord row, Object object, AbstractSession session)voidXMLSequencedObjectBuilder. writeOutMappings(XMLRecord record, Object object, AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.internal.queries
Methods in org.eclipse.persistence.internal.queries that return AbstractSession Modifier and Type Method Description protected AbstractSessionDatabaseQueryMechanism. getExecutionSession()Convenience methodprotected AbstractSessionDatabaseQueryMechanism. getSession()Convenience methodMethods in org.eclipse.persistence.internal.queries with parameters of type AbstractSession Modifier and Type Method Description booleanContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> rows, DataReadQuery 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.booleanContainerPolicy. 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.booleanOrderedListContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, DataReadQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add a list of elements to container.booleanOrderedListContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add a list of elements to container.protected booleanOrderedListContainerPolicy. addAll(List elements, Object container, AbstractSession session, List<AbstractRecord> dbRows, ReadQuery query, CacheKey parentCacheKey)ExpressionJoinedAttributeManager. addAndPrepareJoinedMapping(ForeignReferenceMapping mapping, AbstractSession session)Add the mapping for join fetch, prepare and return the join expression being used.booleanCollectionContainerPolicy. addInto(Object key, Object element, Object container, AbstractSession session)INTERNAL: Add element into a container which implements the Collection interface.booleanContainerPolicy. addInto(Object key, Object element, Object container, AbstractSession session)INTERNAL: Add element to container.booleanContainerPolicy. addInto(Object element, Object container, AbstractSession session)INTERNAL: Add element to container.booleanContainerPolicy. addInto(Object element, Object container, AbstractSession session, AbstractRecord row, DataReadQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: This is used for adding to a direct map or direct collection from the database.booleanContainerPolicy. addInto(Object element, Object container, AbstractSession session, AbstractRecord dbRow, ObjectBuildingQuery query, CacheKey parentCacheKey, boolean isTargetProtected)INTERNAL: Add element to container.booleanMapContainerPolicy. addInto(Object key, Object element, Object container, AbstractSession session)INTERNAL: Add element into container which implements the Map interface.booleanMapContainerPolicy. addInto(Object element, Object container, AbstractSession session)INTERNAL: Add element to container.booleanMappedKeyMapContainerPolicy. addInto(Object element, Object container, AbstractSession session)INTERNAL: Add element into container which implements the Map interface.booleanMappedKeyMapContainerPolicy. addInto(Object element, Object container, AbstractSession session, AbstractRecord row, DataReadQuery 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.booleanMappedKeyMapContainerPolicy. 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 keyprotected voidOrderedListContainerPolicy. addIntoAtIndex(Integer index, Object object, Object container, AbstractSession session)INTERNAL: Add element into a container which implements the List interface.voidContainerPolicy. addNestedJoinsQueriesForMapKey(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Used for joining.voidMappedKeyMapContainerPolicy. addNestedJoinsQueriesForMapKey(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Used for joining.voidContainerPolicy. addNextValueFromIteratorInto(Object valuesIterator, Object parent, CacheKey parentCacheKey, Object toCollection, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: This method is used to add the next value from an iterator built using ContainerPolicy's iteratorFor() method into the toCollection.voidMapContainerPolicy. addNextValueFromIteratorInto(Object valuesIterator, Object parent, CacheKey parentCacheKey, Object toCollection, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: This method is used to add the next value from an iterator built using ContainerPolicy's iteratorFor() method into the toCollection.voidContainerPolicy. buildChangeSetForNewObjectInCollection(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)voidMapContainerPolicy. buildChangeSetForNewObjectInCollection(Object object, ClassDescriptor referenceDescriptor, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Ensure the new key is set for the change set for a new map objectObjectContainerPolicy. buildCloneForKey(Object key, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isCacheCheckComplete)Build a clone for the key of a Map represented by this container policy if necessary.ObjectMappedKeyMapContainerPolicy. buildCloneForKey(Object key, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isCacheCheckComplete)Build a clone for the key of a Map represented by this container policy.protected ObjectMapContainerPolicy. buildCloneForValue(Object value, Object parent, CacheKey parentCacheKey, CollectionMapping mapping, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)Build a clone for the value in a mapping.ObjectArrayListContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Return an ArrayList from the Vector.ObjectCollectionContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Return a container populated with the contents of the specified Vector.ObjectContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Return a container populated with the contents of the specified Vector.ObjectIndirectListContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Just return the Vector.ObjectInterfaceContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Return a container populated with the contents of the specified Vector.ObjectVectorContainerPolicy. buildContainerFromVector(Vector vector, AbstractSession session)INTERNAL: Just return the Vector.ObjectContainerPolicy. 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 keysObjectMappedKeyMapContainerPolicy. buildKey(AbstractRecord row, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row.ObjectContainerPolicy. 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 keysObjectMappedKeyMapContainerPolicy. buildKeyFromJoinedRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey parentCacheKey, AbstractSession session, boolean isTargetProtected)Extract the key for the map from the provided row.Object[]ContainerPolicy. buildReferencesPKList(Object container, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of information to rebuild the collection.Object[]MapContainerPolicy. buildReferencesPKList(Object container, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of information to rebuild the collection.Object[]MappedKeyMapContainerPolicy. buildReferencesPKList(Object container, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of information to rebuild the collection.voidDatabaseQueryMechanism. buildSelectionCriteria(AbstractSession session)Internal: In the case of EJBQL, an expression needs to be generated.voidJPQLCallQueryMechanism. buildSelectionCriteria(AbstractSession newSession)Internal: In the case of EJBQL, an expression needs to be generated, and the query populated.voidQueryByExampleMechanism. buildSelectionCriteria(AbstractSession session)INTERNAL: In the case of EJBQL or query by example, an expression needs to be generated.ObjectDatabaseQueryMechanism. checkCacheForObject(AbstractRecord translationRow, AbstractSession session)Perform a cache lookup for the query.ObjectExpressionQueryMechanism. checkCacheForObject(AbstractRecord translationRow, AbstractSession session)Perform a cache lookup for the query This is only called from read object query.protected voidContainerPolicy. collectObjectForNewCollection(Map originalKeyValues, Map cloneKeyValues, Object newCollection, CollectionChangeRecord changeRecord, AbstractSession session, ClassDescriptor referenceDescriptor)INTERNAL: Iterate over the list of new objects and create change sets for them This method is overridden by subclasses to handle map keysvoidContainerPolicy. compareCollectionsForChange(Object oldCollection, Object newCollection, CollectionChangeRecord changeRecord, AbstractSession session, ClassDescriptor referenceDescriptor)INTERNAL: This method is used to calculate the differences between two collections.voidOrderedListContainerPolicy. compareCollectionsForChange(Object oldList, Object newList, CollectionChangeRecord changeRecord, AbstractSession session, ClassDescriptor referenceDescriptor)INTERNAL: This method is used to calculate the differences between two collections.booleanContainerPolicy. compareKeys(Object sourceKey, AbstractSession session)INTERNAL: Return true if keys are the same in the source as the backup.booleanMapContainerPolicy. compareKeys(Object sourceValue, AbstractSession session)INTERNAL: Return true if keys are the same in the source as the backup.booleanMappedKeyMapContainerPolicy. compareKeys(Object sourceValue, AbstractSession session)INTERNAL: Return true if keys are the same in the source as the backup.protected intJoinedAttributeManager. computeIndexesForJoinedExpressions(List joinedExpressions, int currentIndex, AbstractSession session)This method is used when computing the indexes for joined mappings.intJoinedAttributeManager. computeJoiningMappingIndexes(boolean includeAllSubclassFields, AbstractSession session, int offset)For joining the resulting rows include the field/values for many objects.voidJoinedAttributeManager. computeJoiningMappingQueries(AbstractSession session)Used to optimize joining by pre-computing the nested join queries for the mappings.protected voidJoinedAttributeManager. computeNestedQueriesForJoinedExpressions(List joinedExpressions, AbstractSession session, ObjectLevelReadQuery readQuery)This method is used when computing the nested queries for joined mappings.ObjectContainerPolicy. concatenateContainers(Object firstContainer, Object secondContainer, AbstractSession session)INTERNAL: Build a new container, add the contents of each of the specified containers to it, and return it.ObjectMapContainerPolicy. concatenateContainers(Object firstContainer, Object secondContainer, AbstractSession session)INTERNAL: Build a new container, add the contents of each of the specified containers to it, and return it.booleanContainerPolicy. contains(Object element, Object container, AbstractSession session)INTERNAL: Check if the object is contained in the collection.protected voidContainerPolicy. createChangeSetForKeys(Map originalKeyValues, CollectionChangeRecord changeRecord, AbstractSession session, ClassDescriptor referenceDescriptor)INTERNAL: Create change sets that contain map keys.protected voidMappedKeyMapContainerPolicy. createChangeSetForKeys(Map originalKeyValues, CollectionChangeRecord changeRecord, AbstractSession session, ClassDescriptor referenceDescriptor)INTERNAL: Create change sets that contain map keys.ObjectContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.ObjectMapContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.ObjectMappedKeyMapContainerPolicy. createWrappedObjectFromExistingWrappedObject(Object wrappedObject, Object parent, ClassDescriptor referenceDescriptor, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: This method will actually potentially wrap an object in two ways.voidContainerPolicy. deleteWrappedObject(Object objectDeleted, AbstractSession session)INTERNAL: Delete the passed object This may be overridden by subclasses to deal with composite objectsvoidMappedKeyMapContainerPolicy. deleteWrappedObject(Object objectDeleted, AbstractSession session)INTERNAL: Delete the key and value of the passed association passed object.ObjectListContainerPolicy. get(int index, Object container, AbstractSession session)INTERNAL: Returns the element at the specified position in this list.MapContainerPolicy. getKeyMappingDataForWriteQuery(Object object, AbstractSession session)INTERNAL: Add any non-Foreign-key data from an Object describe by a MapKeyMapping to a database row This is typically used in write queries to ensure all the data stored in the collection table is included in the query.MapMappedKeyMapContainerPolicy. getKeyMappingDataForWriteQuery(Object object, AbstractSession session)INTERNAL: Add any non-Foreign-key data from an Object describe by a MapKeyMapping to a database row This is typically used in write queries to ensure all the data stored in the collection table is included in the query.ObjectJoinedAttributeManager. getValueFromObjectForExpression(AbstractSession session, Object clone, ObjectExpression expression)INTERNAL: Helper method to get the value from the clone for the expression passed in, triggering joins on all intermediate steps.intListContainerPolicy. indexOf(Object element, Object container, AbstractSession session)INTERNAL: Returns the index in this list of the first occurrence of the specified element, or -1 if this list does not contain this element The session may be required to unwrap for the wrapper policy.voidContainerPolicy. initialize(AbstractSession session, DatabaseTable keyTable)INTERNAL: Provide a hook to allow initialization of Container Policy partsvoidMappedKeyMapContainerPolicy. initialize(AbstractSession session, DatabaseTable keyTable)INTERNAL: Initialize the key mappingObjectContainerPolicy. keyFrom(Object element, AbstractSession session)INTERNAL: Return the key for the specified element..ObjectMapContainerPolicy. keyFrom(Object element, AbstractSession session)INTERNAL: Return the key for the specified element.ObjectMappedKeyMapContainerPolicy. keyFrom(Object element, AbstractSession session)INTERNAL: Return the key for the specified element.ObjectContainerPolicy. mergeCascadeParts(ObjectChangeSet objectChanges, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.protected voidContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession, boolean isSynchronizeOnMerge)INTERNAL: Merge changes from the source to the target object.protected voidOrderedListContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidOrderedListContainerPolicy. mergeChanges(CollectionChangeRecord changeRecord, Object valueOfTarget, boolean shouldMergeCascadeParts, MergeManager mergeManager, AbstractSession targetSession, boolean isSynchronizeOnMerge)INTERNAL: Merge changes from the source to the target object.ObjectContainerPolicy. next(Object iterator, AbstractSession session)INTERNAL: Return the next object from the iterator.ObjectContainerPolicy. nextEntry(Object iterator, AbstractSession session)INTERNAL: Return the next object on the queue.ObjectMapContainerPolicy. nextEntry(Object iterator, AbstractSession session)INTERNAL: Return the next object on the queue.voidContainerPolicy. postInitialize(AbstractSession session)INTERNAL: Some subclasses need to post initialize mappings associated with themvoidMappedKeyMapContainerPolicy. postInitialize(AbstractSession session)INTERNAL: Some subclasses need to post initialize mappings associated with them.voidContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.voidMapContainerPolicy. prepare(DatabaseQuery query, AbstractSession session)Prepare and validate.protected ExpressionJoinedAttributeManager. prepareJoinExpression(Expression expression, AbstractSession session)Validate and prepare the join expression.voidJoinedAttributeManager. prepareJoinExpressions(AbstractSession session)Validate and prepare join expressions.voidContainerPolicy. processAdditionalWritableMapKeyFields(AbstractSession session)INTERNAL: This method is used to check the key mapping to ensure that it does not write to a field that is written by another mapping.voidMappedKeyMapContainerPolicy. processAdditionalWritableMapKeyFields(AbstractSession session)INTERNAL: This method is used to check the key mapping to ensure that it does not write to a field that is written by another mapping.protected voidJoinedAttributeManager. processDataResults(AbstractSession session)Process the data-results for joined data for a 1-m join.voidJoinedAttributeManager. processJoinedMappings(AbstractSession session)This method collects the Joined Mappings from the descriptor and initializes them.protected voidDatabaseQueryMechanism. registerObjectInIdentityMap(Object object, ClassDescriptor descriptor, AbstractSession session)Store the query object in the identity map.booleanContainerPolicy. removeFrom(Object key, Object element, Object container, AbstractSession session)INTERNAL: Remove the object from the collection.booleanContainerPolicy. removeFrom(Object element, Object container, AbstractSession session)INTERNAL: Remove the object from the collection.booleanMapContainerPolicy. removeFrom(Object key, Object element, Object container, AbstractSession session)INTERNAL: Remove element from container which implements the Map interface.voidJoinedAttributeManager. setDataResults(List dataResults, AbstractSession session)Set all of the rows fetched by the query, used for 1-m joining.voidEntityFetchGroup. setOnEntity(Object entity, AbstractSession session)Set this EntityFetchGroup on an entity implementingFetchGroupTracker.ForUpdateOfClauseJoinedAttributeManager. setupLockingClauseForJoinedExpressions(ForUpdateOfClause lockingClause, AbstractSession session)Used for joining in conjunction with pessimistic locking.ObjectMapContainerPolicy. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key to be unwrapped.ObjectMappedKeyMapContainerPolicy. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key to be unwrapped.ObjectContainerPolicy. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, ForeignReferenceMapping mapping, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.ObjectListContainerPolicy. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, ForeignReferenceMapping mapping, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.ObjectMapContainerPolicy. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, ForeignReferenceMapping mapping, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.ObjectMappedKeyMapContainerPolicy. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, ForeignReferenceMapping mapping, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.VectorContainerPolicy. vectorFor(Object container, AbstractSession session)INTERNAL: Return a Vector populated with the contents of container. -
Uses of AbstractSession in org.eclipse.persistence.internal.sequencing
Methods in org.eclipse.persistence.internal.sequencing with parameters of type AbstractSession Modifier and Type Method Description static SequencingSequencingFactory. createSequencing(AbstractSession session)INTERNAL: Takes a potential owner - a Session, returns Sequencing object.ObjectSequencingServer. getNextValue(AbstractSession writeSession, Class<?> cls) -
Uses of AbstractSession in org.eclipse.persistence.internal.sessions
Subclasses of AbstractSession in org.eclipse.persistence.internal.sessions Modifier and Type Class Description classDatabaseSessionImplImplementation of org.eclipse.persistence.sessions.DatabaseSession The public interface should be used.classExclusiveIsolatedClientSessionclassIsolatedClientSessionProvides isolation support by allowing a client session to have a local cache of the subset of the classes.classRepeatableWriteUnitOfWorkclassUnitOfWorkImplImplementation of org.eclipse.persistence.sessions.UnitOfWork The public interface should be used.Fields in org.eclipse.persistence.internal.sessions declared as AbstractSession Modifier and Type Field Description protected AbstractSessionAbstractSession. brokerSupport being owned by a session broker.protected AbstractSessionUnitOfWorkImpl. parentprotected AbstractSessionCommitManager. sessionprotected AbstractSessionCommitOrderCalculator. sessionprotected AbstractSessionCommitOrderDependencyNode. sessionprotected AbstractSessionIdentityMapAccessor. sessionprotected AbstractSessionMergeManager. sessionThe unit of work merging for.protected AbstractSessionResultSetRecord. sessionprotected AbstractSessionUnitOfWorkChangeSet. sessionStores unit of work before it is serialized.Fields in org.eclipse.persistence.internal.sessions with type parameters of type AbstractSession Modifier and Type Field Description protected Map<AbstractSession,Map<Object,Object>>MergeManager. objectsAlreadyMergedUsed to unravel recursion.Methods in org.eclipse.persistence.internal.sessions that return AbstractSession Modifier and Type Method Description AbstractSessionAbstractSession. getBroker()INTERNAL: Allow the session to be used from a session broker.AbstractSessionAbstractSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionIsolatedClientSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionUnitOfWorkImpl. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionAbstractSession. getParent()INTERNAL: Gets the parent session.AbstractSessionUnitOfWorkImpl. getParent()PUBLIC: Return the parent.AbstractSessionAbstractSession. getParentIdentityMapSession(ClassDescriptor descriptor, boolean canReturnSelf, boolean terminalOnly)INTERNAL: Returns the appropriate IdentityMap session for this descriptor.AbstractSessionAbstractSession. getParentIdentityMapSession(DatabaseQuery query)INTERNAL: Gets the next link in the chain of sessions followed by a query's check early return, the chain of sessions with identity maps all the way up to the root session.AbstractSessionAbstractSession. getParentIdentityMapSession(DatabaseQuery query, boolean canReturnSelf, boolean terminalOnly)INTERNAL: Gets the next link in the chain of sessions followed by a query's check early return, the chain of sessions with identity maps all the way up to the root session.AbstractSessionIsolatedClientSession. getParentIdentityMapSession(ClassDescriptor descriptor, boolean canReturnSelf, boolean terminalOnly)INTERNAL: Returns the appropriate IdentityMap session for this descriptor.AbstractSessionUnitOfWorkImpl. getParentIdentityMapSession(ClassDescriptor descriptor, boolean canReturnSelf, boolean terminalOnly)INTERNAL: Returns the appropriate IdentityMap session for this descriptor.AbstractSessionAbstractSession. getRootSession(DatabaseQuery query)INTERNAL: The session that this query is executed against when not in transaction.protected AbstractSessionCommitManager. getSession()Return the session that this is managing commits for.AbstractSessionIdentityMapAccessor. getSession()INTERNAL: get the session associated with this IdentityMapAccessorAbstractSessionIsolatedClientSessionIdentityMapAccessor. getSession()INTERNAL: get the session associated with this IdentityMapAccessorAbstractSessionMergeManager. getSession()AbstractSessionUnitOfWorkChangeSet. getSession()Return the session.AbstractSessionAbstractSession. getSessionForClass(Class<?> domainClass)INTERNAL: Return the session to be used for the class.AbstractSessionAbstractSession. getSessionForName(String name)INTERNAL: Return the session by name.Methods in org.eclipse.persistence.internal.sessions that return types with arguments of type AbstractSession Modifier and Type Method Description Map<AbstractSession,Map<Object,Object>>MergeManager. getObjectsAlreadyMerged()Methods in org.eclipse.persistence.internal.sessions with parameters of type AbstractSession Modifier and Type Method Description voidCollectionChangeRecord. addAdditionChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.voidUnitOfWorkChangeSet. addDeletedObject(Object object, AbstractSession session)INTERNAL: Add the Deleted object to the changeSet.voidUnitOfWorkChangeSet. addDeletedObjects(Map deletedObjects, AbstractSession session)INTERNAL: Add the Deleted objects to the changeSet.protected voidUnitOfWorkChangeSet. addNewObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session)INTERNAL: Add to the changes for 'object' object to this changeSet.voidUnitOfWorkChangeSet. addObjectChangeSet(ObjectChangeSet objectChanges, AbstractSession session, boolean forceToNewObjectList)INTERNAL: Add to the changes for 'object' object to this changeSet.voidCollectionChangeRecord. addOrderedAdditionChange(List<Object> orderedObjectsToAdd, Map<Object,Integer> objectChangesIndices, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a list of objects and converts them into ObjectChangeSets.voidCollectionChangeRecord. addOrderedRemoveChange(List<Integer> indicesToRemove, Map objectChanges, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a map of objects and converts them into ObjectChangeSets.voidCollectionChangeRecord. addRemoveChange(Map objectChanges, ContainerPolicy cp, UnitOfWorkChangeSet changeSet, AbstractSession session)This method takes a Map of objects, converts these into ObjectChangeSets.UnitOfWorkChangeSetUnitOfWorkChangeSet. buildCacheCoordinationMergeChangeSet(AbstractSession session)INTERNAL: Return a new UnitOfWorkChangeSet that only includes data require for the remote merge, for cache coordination.voidCommitManager. deleteAllObjects(Class<?> theClass, List objects, AbstractSession session)Delete all of the objects with the matching class.static StringPropertiesHandler. getDefaultPropertyValueLogDebug(String name, AbstractSession session)ObjectMergeManager. getMergedObject(Object key, AbstractSession targetSession)protected ObjectObjectChangeSet. getObjectForMerge(MergeManager mergeManager, AbstractSession session, Object primaryKey, ClassDescriptor descriptor)INTERNAL: For use within the distributed merge process, this method will get an object from the shared cache using a readlock.ObjectMergeManager. getObjectToMerge(Object sourceValue, ClassDescriptor descriptor, AbstractSession targetSession)ObjectDeferrableChangeRecord. getOldValue(Object currentCollection, AbstractSession session)ObjectObjectChangeSet. getOldValue(AbstractSession session)ObjectUnitOfWorkImpl. getOriginalVersionOfObjectOrNull(Object workingClone, ObjectChangeSet changeSet, ClassDescriptor descriptor, AbstractSession targetSession)INTERNAL: Return the original version of the object(clone) from the parent's identity map.static MapPropertiesHandler. getPrefixValuesLogDebug(String prefix, Map m, AbstractSession session)static StringPropertiesHandler. getPropertyValueLogDebug(String name, String value, AbstractSession session)static StringPropertiesHandler. getPropertyValueLogDebug(String name, Map m, AbstractSession session)static StringPropertiesHandler. getPropertyValueLogDebug(String name, Map m, AbstractSession session, boolean useSystemAsDefault)ObjectMergeManager. getTargetVersionOfSourceObject(Object source, ClassDescriptor descriptor, AbstractSession targetSession)Return the corresponding value that should be assigned to the target object for the source object.ObjectObjectChangeSet. getTargetVersionOfSourceObject(MergeManager mergeManager, AbstractSession session)INTERNAL: This method is used to return the complex object specified within the change record.ObjectObjectChangeSet. getTargetVersionOfSourceObject(MergeManager mergeManager, AbstractSession targetSession, boolean shouldRead)INTERNAL: This method is used to return the complex object specified within the change record.voidCollectionChangeRecord. internalRecreateOriginalCollection(Object currentCollection, AbstractSession session)Recreates the original state of currentCollection.abstract voidDeferrableChangeRecord. internalRecreateOriginalCollection(Object currentCollection, AbstractSession session)Recreates the original state of currentCollection.voidDirectCollectionChangeRecord. internalRecreateOriginalCollection(Object currentCollection, AbstractSession session)Recreates the original state of the collection.voidDirectMapChangeRecord. internalRecreateOriginalCollection(Object currentMap, AbstractSession session)Recreates the original state of the collection.booleanMergeManager. isAlreadyMerged(Object object, AbstractSession targetSession)ObjectMergeManager. mergeChanges(Object object, ObjectChangeSet objectChangeSet, AbstractSession targetSession)Recursively merge changes in the object dependent on the merge policy.protected CacheKeyMergeManager. mergeChangesOfWorkingCopyIntoOriginal(Object clone, ObjectChangeSet objectChangeSet, ClassDescriptor descriptor, AbstractSession targetSession, UnitOfWorkImpl unitOfWork)Recursively merge to clone into the original in its parent.voidUnitOfWorkChangeSet. mergeUnitOfWorkChangeSet(UnitOfWorkChangeSet mergeFromChangeSet, AbstractSession session, boolean postCommit)INTERNAL: THis method will be used to merge another changeset into this changeset.voidObjectChangeSet. postSerialize(Object clone, UnitOfWorkChangeSet uowChangeSet, AbstractSession session)INTERNAL: Reset the change set's transient variables after serialization.voidChangeRecord. prepareForSynchronization(AbstractSession session)INTERNAL: Ensure this change record is ready to by sent remotely for cache synchronization In general, this means setting the CacheSynchronizationType on any ObjectChangeSets associated with this ChangeRecordvoidUnitOfWorkChangeSet. putNewObjectInChangesList(ObjectChangeSet objectChangeSet, AbstractSession session)INTERNAL: Used to rehash the new objects back into the objectChanges list for serialization Assumes the transaction in in post commit stage.protected voidObjectChangeSet. rebuildWriteLockValueFromUserFormat(ClassDescriptor descriptor, AbstractSession session)Rebuild writeLockValue to the expected type from user format i.e XML change set has all values as String.voidMergeManager. recordMerge(Object key, Object value, AbstractSession targetSession)voidDeferrableChangeRecord. recreateOriginalCollection(Object currentCollection, AbstractSession session)Recreates the original state of the collection.ObjectMergeManager. registerExistingObjectOfReadOnlyClassInNestedTransaction(Object source, ClassDescriptor descriptor, AbstractSession targetSession)INTERNAL: Used to register an existing object used in nested unit of work with read-only class in root unit of work.protected voidObjectChangeSet. removeFromIdentityMap(AbstractSession session)Remove object represent this change set from identity map.voidUnitOfWorkChangeSet. removeObjectChangeSetFromNewList(ObjectChangeSet objectChangeSet, AbstractSession session)INTERNAL: Used to remove a new object from the new objects list once it has been inserted and added to the objectChangesListObjectAbstractSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectDatabaseSessionImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectUnitOfWorkImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.DatabaseExceptionAbstractSession. retryTransaction(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed.voidAbstractSession. setBroker(AbstractSession broker)INTERNAL: Allow the session to be used from a session broker.voidObjectChangeSet. setOptimisticLockingPolicyAndInitialWriteLockValue(OptimisticLockingPolicy optimisticLockingPolicy, AbstractSession session)INTERNAL: This method should ONLY be used to set the initial writeLock value for an ObjectChangeSet when it is first built.voidUnitOfWorkImpl. setParent(AbstractSession parent)INTERNAL: Set the parent.protected voidCommitManager. setSession(AbstractSession session)Set the session that this is managing commits for.protected voidMergeManager. setSession(AbstractSession session)voidUnitOfWorkChangeSet. setSession(AbstractSession session)INTERNAL: Set the session.booleanObjectChangeSet. shouldInvalidateObject(Object original, AbstractSession session)INTERNAL: Indicates whether the object in session cache should be invalidated.voidDirectCollectionChangeRecord. storeDatabaseCounts(Object collection, ContainerPolicy containerPolicy, AbstractSession session)This method will iterate over the collection and store the database counts for the objects within the collection, this is used for minimal updates.voidObjectChangeSet. updateChangeRecordForAttribute(DatabaseMapping mapping, Object value, AbstractSession session, Object oldValue)INTERNAL: Used to update a changeRecord that is stored in the CHangeSet with a new value.voidObjectChangeSet. updateChangeRecordForAttributeWithMappedObject(String attributeName, Object value, AbstractSession session)ADVANCED: Used to update a changeRecord that is stored in the CHangeSet with a new value.Method parameters in org.eclipse.persistence.internal.sessions with type arguments of type AbstractSession Modifier and Type Method Description protected voidMergeManager. setObjectsAlreadyMerged(Map<AbstractSession,Map<Object,Object>> objectsAlreadyMerged)Constructors in org.eclipse.persistence.internal.sessions with parameters of type AbstractSession Constructor Description CommitManager(AbstractSession session)Create the commit manager on the session.CommitOrderCalculator(AbstractSession session)CommitOrderDependencyNode(CommitOrderCalculator calculator, ClassDescriptor descriptor, AbstractSession session)DistributedSessionIdentityMapAccessor(AbstractSession session, IdentityMapManager identityMapManager)IdentityMapAccessor(AbstractSession session)INTERNAL: An IdentityMapAccessor sits between the session and the identityMapManager It needs references in both directions.IdentityMapAccessor(AbstractSession session, IdentityMapManager identityMapManager)INTERNAL: An IdentityMapAccessor sits between the session and the identityMapManager It needs references in both directions.IsolatedClientSessionIdentityMapAccessor(AbstractSession session)INTERNAL: An IdentityMapAccessor sits between the session and the identityMapManager It needs references in both directionsMergeManager(AbstractSession session)RepeatableWriteUnitOfWork(AbstractSession parentSession, ReferenceMode referenceMode)ResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData)SessionBrokerIdentityMapAccessor(AbstractSession session, IdentityMapManager identityMapManager)SimpleResultSetRecord(Vector fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, DatabaseAccessor accessor, AbstractSession session, DatabasePlatform platform, boolean optimizeData)UnitOfWorkChangeSet(AbstractSession session)INTERNAL: Create a ChangeSetUnitOfWorkIdentityMapAccessor(AbstractSession session, IdentityMapManager identityMapManager)UnitOfWorkImpl(AbstractSession parent, ReferenceMode referenceMode)INTERNAL: Create and return a new unit of work with the session as its parent. -
Uses of AbstractSession in org.eclipse.persistence.internal.sessions.cdi
Methods in org.eclipse.persistence.internal.sessions.cdi with parameters of type AbstractSession Modifier and Type Method Description voidDisabledInjectionManager. cleanUp(AbstractSession session)voidInjectionManager. cleanUp(AbstractSession session)voidInjectionManagerImpl. cleanUp(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.internal.sessions.coordination
Methods in org.eclipse.persistence.internal.sessions.coordination with parameters of type AbstractSession Modifier and Type Method Description voidConnectToHostCommand. executeWithSession(AbstractSession session)voidMetadataRefreshCommand. executeWithSession(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.internal.sessions.factories
Subclasses of AbstractSession in org.eclipse.persistence.internal.sessions.factories Modifier and Type Class Description classSessionBrokerPlaceHolderINTERNAL:Methods in org.eclipse.persistence.internal.sessions.factories that return AbstractSession Modifier and Type Method Description protected AbstractSessionSessionsFactory. buildDatabaseSessionConfig(DatabaseSessionConfig databaseSessionConfig)INTERNAL: Wrapped by the getSession() call, therefore, config can't be null at this point.protected AbstractSessionSessionsFactory. buildServerSessionConfig(ServerSessionConfig serverSessionConfig)INTERNAL: Builds a server server from the given ServerSessionConfig.protected AbstractSessionSessionsFactory. buildSession(SessionConfig sessionConfig)INTERNAL: Build the correct session based on the session config typeMethods in org.eclipse.persistence.internal.sessions.factories with parameters of type AbstractSession Modifier and Type Method Description protected SessionLogSessionsFactory. buildJavaLogConfig(JavaLogConfig javaLogConfig, AbstractSession session)INTERNAL:protected voidSessionsFactory. buildRemoteCommandManagerConfig(RemoteCommandManagerConfig rcmConfig, AbstractSession session)INTERNAL:protected SessionLogSessionsFactory. buildServerLogConfig(ServerLogConfig serverLogConfig, AbstractSession session)INTERNAL:protected SessionLogSessionsFactory. buildSessionLog(LogConfig logConfig, AbstractSession session)INTERNAL:protected voidSessionsFactory. processConnectionPoolConfig(ConnectionPoolConfig poolConfig, ConnectionPool connectionPool, AbstractSession session)INTERNAL: Process the common elements from a ConnectionPoolConfigprotected voidSessionsFactory. processDatabaseSessionConfig(DatabaseSessionConfig sessionConfig, AbstractSession session)INTERNAL Process a DatabaseSessionConfig object.protected voidSessionsFactory. processSessionConfig(SessionConfig sessionConfig, AbstractSession session)INTERNAL: Process the common elements from a SessionConfig.protected voidSessionsFactory. processSessionCustomizer(SessionConfig sessionConfig, AbstractSession session)INTERNAL: Process the user inputed session customizer class.protected voidSessionsFactory. processSessionEventManagerConfig(SessionEventManagerConfig sessionEventManagerConfig, AbstractSession session)INTERNAL: -
Uses of AbstractSession in org.eclipse.persistence.internal.sessions.remote
Subclasses of AbstractSession in org.eclipse.persistence.internal.sessions.remote Modifier and Type Class Description classRemoteUnitOfWorkCounter part of the unit of work which exists on the client side.Fields in org.eclipse.persistence.internal.sessions.remote declared as AbstractSession Modifier and Type Field Description protected AbstractSessionRemoteSessionController. sessionThis is a either a database session or a client session depending upon the setup.Methods in org.eclipse.persistence.internal.sessions.remote that return AbstractSession Modifier and Type Method Description protected AbstractSessionRemoteSessionController. getExecutionSession()Return the correct session for the transaction context.AbstractSessionRemoteSessionController. getSession()Get the associated server side session.Methods in org.eclipse.persistence.internal.sessions.remote with parameters of type AbstractSession Modifier and Type Method Description voidRemoteCommand. execute(AbstractSession session, RemoteSessionController remoteSessionController)INTERNAL: This method is used bye the remote Session to execute the commandObjectRemoteFunctionCall. execute(AbstractSession session, RemoteSessionController remoteSessionController)INTERNAL: This method is used by the remote session controller to execute the function callvoidRemoveServerSideRemoteValueHolderCommand. execute(AbstractSession session, RemoteSessionController remoteSessionController)INTERNAL: This method is used bye the remote Session to execute the commandprotected ObjectSequencingFunctionCall.DoesExist. execute(AbstractSession session)protected ObjectSequencingFunctionCall.GetNextValue. execute(AbstractSession session)protected ObjectSequencingFunctionCall.WhenShouldAcquireValueForAll. execute(AbstractSession session)protected abstract ObjectSimpleFunctionCall. execute(AbstractSession session)PROTECTED: Convenience methodObjectSimpleFunctionCall. execute(AbstractSession session, RemoteSessionController remoteSessionController)INTERNAL: This method is used by remote session controller to execute the function callvoidTransporter. expand(AbstractSession session)Deserialize the object.protected voidRemoteUnitOfWork. fixRemoteChangeSet(UnitOfWorkChangeSet uowChangeSet, Map cloneMap, AbstractSession session)INTERNAL: Fix the transient fields in the serialized change set.protected voidRemoteSessionController. initialize(AbstractSession session)Initialize this RemoteSessionController with a session.voidTransporter. prepare(AbstractSession session)Serialize the object.voidRemoteUnitOfWork. reinitializeForSession(AbstractSession session, RemoteSessionController parentSessionController)INTERNAL: Re-initialize for the server-side session.protected voidRemoteSessionController. setSession(AbstractSession session)Set the associated server side session.Constructors in org.eclipse.persistence.internal.sessions.remote with parameters of type AbstractSession Constructor Description RemoteSessionController(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.logging
Fields in org.eclipse.persistence.logging declared as AbstractSession Modifier and Type Field Description protected AbstractSessionSessionLogEntry. sessionMethods in org.eclipse.persistence.logging that return AbstractSession Modifier and Type Method Description AbstractSessionSessionLogEntry. getSession()Return the session that generated the log entry.Methods in org.eclipse.persistence.logging with parameters of type AbstractSession Modifier and Type Method Description voidSessionLogEntry. setSession(AbstractSession session)Set the session that generated the log entry.Constructors in org.eclipse.persistence.logging with parameters of type AbstractSession Constructor Description SessionLogEntry(int level, String category, AbstractSession session, String message, Object[] params, Accessor connection, boolean shouldTranslate)Create a new session log entry for a request level, a category, a session, a message, parameters and an accessor.SessionLogEntry(int level, AbstractSession session, String message, Object[] params, Accessor connection, boolean shouldTranslate)Create a new session log entry for a request level, a session, a message, parameters and an accessor.SessionLogEntry(AbstractSession session)Create a new session log entry for a session.SessionLogEntry(AbstractSession session, int level, String category, Throwable throwable)Create a new session log entry for a session, a level, a category and an exception.SessionLogEntry(AbstractSession session, String message)Create a new session log entry for a session and a message.SessionLogEntry(AbstractSession session, String message, Accessor connection)Create a new session log entry for a session, a message and an accessor.SessionLogEntry(AbstractSession session, Throwable throwable)Create a new session log entry for a session and a throwable. -
Uses of AbstractSession in org.eclipse.persistence.mappings
Fields in org.eclipse.persistence.mappings declared as AbstractSession Modifier and Type Field Description protected AbstractSessionForeignReferenceMapping. tempInitSessionThe session is temporarily used for initialization.Methods in org.eclipse.persistence.mappings that return AbstractSession Modifier and Type Method Description protected AbstractSessionForeignReferenceMapping. getTempSession()Methods in org.eclipse.persistence.mappings with parameters of type AbstractSession Modifier and Type Method Description AbstractRecordRelationTableMechanism. addRelationTableSourceRow(Object sourceObject, AbstractSession session, AbstractRecord databaseRow, ForeignReferenceMapping mapping)INTERNAL: Add to a row source relation fields with values extracted from the source object.AbstractRecordRelationTableMechanism. addRelationTableTargetRow(Object targetObject, AbstractSession session, AbstractRecord databaseRow, ForeignReferenceMapping mapping)INTERNAL: Add to a row target relation fields with values extracted from the target object.ObjectAggregateObjectMapping. 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.ChangeRecordCollectionMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordDatabaseMapping. buildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordObjectReferenceMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonvoidAggregateMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidAggregateObjectMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.abstract voidDatabaseMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidForeignReferenceMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidMultitenantPrimaryKeyMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.ObjectAggregateCollectionMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.ObjectCollectionMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.ObjectDatabaseMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.ObjectDirectMapMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.abstract ObjectForeignReferenceMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.ObjectObjectReferenceMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.voidAggregateMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidAggregateObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.abstract voidDatabaseMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidForeignReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone.voidMultitenantPrimaryKeyMapping. 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.protected ObjectAggregateMapping. buildClonePart(Object attributeValue, Object clone, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isNewObject)INTERNAL: * Build and return a clone of the attribute.protected ObjectAggregateMapping. buildClonePart(Object original, Object clone, CacheKey cacheKey, Object attributeValue, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Build and return a clone of the attribute.ObjectCollectionMapping. buildContainerClone(Object attributeValue, AbstractSession cloningSession)INTERNAL: Performs a first level clone of the attribute.ObjectDatabaseMapping. buildContainerClone(Object attributeValue, AbstractSession cloningSession)INTERNAL: Performs a first level clone of the attribute.ObjectAggregateCollectionMapping. buildElementClone(Object element, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: Clone the aggregate collection, if necessary.ObjectAggregateObjectMapping. buildElementClone(Object attributeValue, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: Build a clone of the given element in a unitOfWorkObjectCollectionMapping. buildElementClone(Object element, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: Clone the element, if necessary.ObjectDirectCollectionMapping. buildElementClone(Object element, Object parent, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)INTERNAL: Clone the element, if necessary.ObjectOneToOneMapping. buildElementClone(Object attributeValue, Object parent, CacheKey cacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)Build a clone of the given element in a unitOfWork.ExpressionAggregateCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAggregateMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionDatabaseMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribue and it's value.ExpressionDirectCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionObjectReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.protected ObjectAggregateMapping. buildNewMergeInstanceOf(Object sourceAttributeValue, AbstractSession session)INTERNAL: Build and return a new instance of the specified attribute.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.Object[]CollectionMapping. buildReferencesPKList(Object entity, Object attribute, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of information to rebuild the relationship.abstract Object[]ForeignReferenceMapping. buildReferencesPKList(Object entity, Object attribute, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of information to rebuild the relationship.Object[]ObjectReferenceMapping. buildReferencesPKList(Object entity, Object attribute, AbstractSession session)INTERNAL: This method will access the target relationship and create a list of PKs of the target entities.AbstractRecordRelationTableMechanism. buildRelationTableSourceAndTargetRow(Object sourceObject, Object targetObject, AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Create a row that contains source relation fields with values extracted from the source object and target relation fields with values extracted from the target object.AbstractRecordRelationTableMechanism. buildRelationTableSourceAndTargetRow(AbstractRecord sourceRow, Object targetObject, AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Create a row that contains source relation fields with values extracted from the source row and target relation fields with values extracted from the target object.AbstractRecordRelationTableMechanism. buildRelationTableSourceRow(Object sourceObject, AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Create a row that contains source relation fields with values extracted from the source object.voidAggregateObjectMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidDatabaseMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidOneToOneMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.protected AbstractRecordAggregateObjectMapping. buildTemplateInsertRow(AbstractSession session)INTERNAL: Build and return a "template" database row with all the fields set to null.voidCollectionMapping. calculateDeferredChanges(ChangeRecord changeRecord, AbstractSession session)INTERNAL: Used by AttributeLevelChangeTracking to update a changeRecord with calculated changes as apposed to detected changes.voidDatabaseMapping. calculateDeferredChanges(ChangeRecord changeRecord, AbstractSession session)INTERNAL: Used by AttributeLevelChangeTracking to update a changeRecord with calculated changes as apposed to detected changes.voidDirectCollectionMapping. calculateDeferredChanges(ChangeRecord changeRecord, AbstractSession session)INTERNAL: Used by AttributeLevelChangeTracking to update a changeRecord with calculated changes as apposed to detected changes.voidDirectMapMapping. calculateDeferredChanges(ChangeRecord changeRecord, AbstractSession session)INTERNAL: Used by AttributeLevelChangeTracking to update a changeRecord with calculated changes as opposed to detected changes.protected ObjectForeignReferenceMapping. checkCacheForBatchKey(AbstractRecord sourceRow, Object foreignKey, Map batchObjects, ReadQuery batchQuery, ObjectLevelReadQuery originalQuery, AbstractSession session)INTERNAL: Check if the target object is in the cache if possible based on the source row.protected ObjectOneToOneMapping. checkCacheForBatchKey(AbstractRecord sourceRow, Object foreignKey, Map batchObjects, ReadQuery batchQuery, ObjectLevelReadQuery originalQuery, AbstractSession session)INTERNAL: Check if the target object is in the cache if possible based on the target key value.protected booleanAggregateMapping. compareAttributeValues(Object attributeValue1, Object attributeValue2, AbstractSession session)INTERNAL: Compare the attributes.voidCollectionMapping. compareCollectionsForChange(Object oldCollection, Object newCollection, ChangeRecord changeRecord, AbstractSession session)INTERNAL: This method is used to calculate the differences between two collections.voidDirectCollectionMapping. compareCollectionsForChange(Object oldCollection, Object newCollection, ChangeRecord changeRecord, AbstractSession session)INTERNAL: This method is used to calculate the differences between two collections.voidDirectMapMapping. compareCollectionsForChange(Object oldCollection, Object newCollection, ChangeRecord changeRecord, AbstractSession session)INTERNAL: This method is used to calculate the differences between two collections.ChangeRecordAggregateCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to create a change record from comparing two aggregate collectionsChangeRecordAggregateMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the changes between two aggregates.ChangeRecordCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to create a change record from comparing two collections.abstract ChangeRecordDatabaseMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordDirectCollectionMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method compares the changes between two direct collections.ChangeRecordDirectMapMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method compares the changes between two direct collections.ChangeRecordMultitenantPrimaryKeyMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the clone and backup clone values and return a change record if the value changed.ChangeRecordObjectReferenceMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Return an ObjectReferenceChangeRecord describing the change, or null if no change.ChangeRecordUnidirectionalOneToManyMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession uow)INTERNAL: This method is used to create a change record from comparing two collectionsbooleanAggregateCollectionMapping. compareLists(List firstList, List secondList, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.protected booleanCollectionMapping. compareLists(List firstList, List secondList, AbstractSession session, boolean withPrivateOwned)Compare two lists.voidDirectCollectionMapping. compareListsForChange(List oldList, List newList, ChangeRecord changeRecord, AbstractSession session)INTERNAL: This method is used to calculate the differences between two Lists.protected booleanAggregateCollectionMapping. compareMapCollectionForChange(Map cloneObjectCollection, Map backUpCollection, AbstractSession session)INTERNAL: Determine if an AggregateCollection that is contained as a map has changed by comparing the values in the clone to the values in the backup.booleanAggregateCollectionMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanAggregateMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanCollectionMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.abstract booleanDatabaseMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanDirectCollectionMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanDirectMapMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanForeignReferenceMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanMultitenantPrimaryKeyMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.protected booleanCollectionMapping. compareObjectsWithoutPrivateOwned(Object firstCollection, Object secondCollection, AbstractSession session)Compare two objects if their parts are not private ownedprotected abstract booleanForeignReferenceMapping. compareObjectsWithoutPrivateOwned(Object first, Object second, AbstractSession session)Compare two objects if their parts are not private ownedprotected booleanObjectReferenceMapping. compareObjectsWithoutPrivateOwned(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the references of the two objects are the same, not the objects themselves.protected booleanVariableOneToOneMapping. compareObjectsWithoutPrivateOwned(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the references of the two objects are the same, not the objects themselves.protected booleanCollectionMapping. compareObjectsWithPrivateOwned(Object firstCollection, Object secondCollection, AbstractSession session)Compare two objects if their parts are private ownedprotected abstract booleanForeignReferenceMapping. compareObjectsWithPrivateOwned(Object first, Object second, AbstractSession session)Compare two objects if their parts are private ownedprotected booleanObjectReferenceMapping. compareObjectsWithPrivateOwned(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the references of the two objects are the same, and the objects themselves are the same.protected ChangeRecordAggregateCollectionMapping. convertToChangeRecord(Object cloneCollection, Object backupCollection, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method is used to convert the contents of an aggregateCollection into a changeRecord<T> DatabaseValueHolder<T>DatabaseMapping. createCloneValueHolder(ValueHolderInterface<T> attributeValue, Object original, Object clone, AbstractRecord row, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Builder the unit of work value holder.<T> DatabaseValueHolder<T>ForeignReferenceMapping. createCloneValueHolder(ValueHolderInterface<T> attributeValue, Object original, Object clone, AbstractRecord row, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Builder the unit of work value holder.<T> DatabaseValueHolder<T>ObjectReferenceMapping. createCloneValueHolder(ValueHolderInterface<T> attributeValue, Object original, Object clone, AbstractRecord row, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Builder the unit of work value holder.ObjectAggregateObjectMapping. 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.ObjectOneToOneMapping. 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.ObjectAggregateCollectionMapping. 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.ObjectAggregateObjectMapping. 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.ObjectDirectMapMapping. 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.ObjectManyToManyMapping. 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.ObjectOneToManyMapping. 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.ObjectOneToOneMapping. 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.List<Object>AggregateObjectMapping. createMapComponentsFromSerializableKeyInfo(Object[] keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.List<Object>OneToOneMapping. createMapComponentsFromSerializableKeyInfo(Object[] keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.ObjectAggregateObjectMapping. createSerializableMapKeyInfo(Object key, AbstractSession session)INTERNAL: Creates the Array of simple types used to recreate this map.ObjectOneToOneMapping. createSerializableMapKeyInfo(Object key, AbstractSession session)INTERNAL: Creates the Array of simple types used to recreate this map.ObjectAggregateObjectMapping. createStubbedMapComponentFromSerializableKeyInfo(Object keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.ObjectOneToOneMapping. createStubbedMapComponentFromSerializableKeyInfo(Object keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.protected voidAggregateCollectionMapping. deleteAll(DeleteObjectQuery query, AbstractSession session)To delete all the entries matching the selection criteria from the table stored in the referenced descriptorprotected voidOneToManyMapping. deleteAll(DeleteObjectQuery query, AbstractSession session)Delete all the reference objects with a single query.voidAggregateObjectMapping. deleteMapKey(Object objectDeleted, AbstractSession session)INTERNAL: For mappings used as MapKeys in MappedKeyContainerPolicy, Delete the passed object if necessary.voidOneToOneMapping. deleteMapKey(Object objectDeleted, AbstractSession session)INTERNAL: For mappings used as MapKeys in MappedKeyContainerPolicy, Delete the passed object if necessary.protected voidCollectionMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidDirectCollectionMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceDataByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidDirectMapMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceDataByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidForeignReferenceMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord row)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected voidOneToOneMapping. executeBatchQuery(DatabaseQuery query, CacheKey parentCacheKey, Map referenceObjectsByKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Prepare and execute the batch query and store the results for each source object in a map keyed by the mappings source keys of the source objects.protected ObjectAggregateCollectionMapping. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the primary key value from the source row.protected ObjectDirectCollectionMapping. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the primary key value from the source row.protected ObjectForeignReferenceMapping. extractBatchKeyFromRow(AbstractRecord targetRow, AbstractSession session)INTERNAL: Extract the batch key value from the source row.protected ObjectManyToManyMapping. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the primary key value from the source row.protected ObjectOneToManyMapping. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)Extract the key field values from the specified row.protected ObjectOneToOneMapping. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the foreign key value from the source row.protected ObjectRelationTableMechanism. extractBatchKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the foreign key value from the source row.MapAggregateObjectMapping. extractIdentityFieldsForQuery(Object object, AbstractSession session)INTERNAL: Extract the fields for the Map key from the object to use in a query.MapOneToOneMapping. extractIdentityFieldsForQuery(Object object, AbstractSession session)INTERNAL: Extract the fields for the Map key from the object to use in a queryprotected ObjectOneToOneMapping. extractKeyFromReferenceObject(Object object, AbstractSession session)INTERNAL: Extract the key value from the reference object.protected ObjectAggregateCollectionMapping. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the target row.protected ObjectCollectionMapping. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the target row.protected ObjectDirectCollectionMapping. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the reference direct row.protected ObjectManyToManyMapping. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the relation row.protected ObjectOneToManyMapping. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the target row.protected ObjectRelationTableMechanism. extractKeyFromTargetRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the relation row.AbstractRecordObjectReferenceMapping. extractPrimaryKeyRowForSourceObject(Object domainObject, AbstractSession session)INTERNAL: Extract the reference pk for rvh usage in remote model.ObjectObjectReferenceMapping. extractPrimaryKeysForReferenceObject(Object domainObject, AbstractSession session)INTERNAL: Extract the reference pk for rvh usage in remote model.ObjectObjectReferenceMapping. extractPrimaryKeysFromRealReferenceObject(Object object, AbstractSession session)INTERNAL: Extract the reference pk for rvh usage in remote model.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.protected VectorUnidirectionalOneToManyMapping. extractSourceKeyFromRow(AbstractRecord row, AbstractSession session)INTERNAL: Extract the source primary key value from the target row.protected ExpressionAggregateCollectionMapping. getDeleteAllCriteria(AbstractSession session)Delete all criteria is created with target foreign keys and source keys.ClassDescriptorObjectReferenceMapping. getDescriptorForTarget(Object object, AbstractSession session)INTERNAL: Return a descriptor for the target of this mappingClassDescriptorVariableOneToOneMapping. getDescriptorForTarget(Object targetObject, AbstractSession session)INTERNAL: Return a descriptor for the target of this mapping For normal ObjectReferenceMappings, we return the reference descriptor.protected ReadQueryForeignReferenceMapping. getExtendPessimisticLockScopeDedicatedQuery(AbstractSession session, short lockMode)INTERNAL: Should be overridden by subclass that allows setting extendPessimisticLockScope to DEDICATED_QUERY.protected ReadQueryManyToManyMapping. getExtendPessimisticLockScopeDedicatedQuery(AbstractSession session, short lockMode)INTERNAL: Should be overridden by subclass that allows setting extendPessimisticLockScope to DEDICATED_QUERY.protected ReadQueryOneToOneMapping. getExtendPessimisticLockScopeDedicatedQuery(AbstractSession session, short lockMode)INTERNAL: Should be overridden by subclass that allows setting extendPessimisticLockScope to DEDICATED_QUERY.ObjectDirectCollectionMapping. getFieldValue(Object attributeValue, AbstractSession session)INTERNAL: Convert the attribute value to a field value.ObjectMultitenantPrimaryKeyMapping. getFieldValue(Object propertyValue, AbstractSession session)INTERNAL:protected ObjectVariableOneToOneMapping. getImplementorForType(Object type, AbstractSession session)INTERNAL: Return the implementor for a specified typeprotected InsertObjectQueryAggregateCollectionMapping. getInsertObjectQuery(AbstractSession session, ClassDescriptor desc)INTERNAL: Returns a clone of InsertObjectQuery from the ClassDescriptor's DescriptorQueryManager or a new oneprotected InsertObjectQueryOneToManyMapping. getInsertObjectQuery(AbstractSession session, ClassDescriptor desc)INTERNAL: Returns a clone of InsertObjectQuery from the ClassDescriptor's DescriptorQueryManager or a new oneprotected ObjectAggregateObjectMapping. getMatchingAttributeValueFromObject(AbstractRecord row, Object targetObject, AbstractSession session, ClassDescriptor descriptor)INTERNAL: This is used to preserve object identity during a refreshObject() query.ObjectLevelReadQueryAggregateObjectMapping. getNestedJoinQuery(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Return the query that is used when this mapping is part of a joined relationship This method is used when this mapping is used to map the key in a MapObjectLevelReadQueryOneToOneMapping. getNestedJoinQuery(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Return the query that is used when this mapping is part of a joined relationship This method is used when this mapping is used to map the key in a Mapprotected ObjectBuilderAggregateMapping. getObjectBuilder(Object attributeValue, AbstractSession session)Convenience methodprotected ObjectBuilderAggregateMapping. getObjectBuilderForClass(Class<?> javaClass, AbstractSession session)Convenience methodObjectDirectCollectionMapping. getObjectValue(Object fieldValue, AbstractSession session)INTERNAL: Convert the field value to an attribute value.protected ObjectObjectReferenceMapping. getPrimaryKeyForObject(Object object, AbstractSession session)INTERNAL:protected ObjectVariableOneToOneMapping. getPrimaryKeyForObject(Object object, AbstractSession session)INTERNAL:protected DescriptorQueryManagerAggregateMapping. getQueryManager(Object attributeValue, AbstractSession session)Convenience methodObjectDatabaseMapping. getRealAttributeValueFromAttribute(Object attributeValue, Object object, AbstractSession session)INTERNAL: Return the value of an attribute unwrapping value holders if required.ObjectForeignReferenceMapping. getRealAttributeValueFromAttribute(Object attributeValue, Object object, AbstractSession session)INTERNAL: Returns the attribute value from the reference object.ObjectObjectReferenceMapping. getRealAttributeValueFromAttribute(Object attributeValue, Object object, AbstractSession session)INTERNAL: Object reference must unwrap the reference object if required.ObjectDatabaseMapping. getRealAttributeValueFromObject(Object object, AbstractSession session)INTERNAL: Return the value of an attribute unwrapping value holders if required.ObjectCollectionMapping. getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)Convenience method.ObjectDatabaseMapping. getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)INTERNAL: Return the value of an attribute, unwrapping value holders if necessary.ClassDescriptorAggregateCollectionMapping. getReferenceDescriptor(Class<?> theClass, AbstractSession session)INTERNAL: for inheritance purposeprotected ClassDescriptorAggregateMapping. getReferenceDescriptor(Class<?> theClass, AbstractSession session)INTERNAL: For inheritance purposes.protected ClassDescriptorAggregateMapping. getReferenceDescriptor(Object attributeValue, AbstractSession session)Convenience methodClassDescriptorAggregateObjectMapping. getReferenceDescriptor(Class<?> theClass, AbstractSession session)INTERNAL: Since aggregate object mappings clone their descriptors, for inheritance the correct child clone must be found.ObjectAggregateObjectMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager.ObjectOneToOneMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager Used with MapKeyContainerPolicy to abstract getting the target version of a source keyvoidAggregateCollectionMapping. initialize(AbstractSession session)INTERNAL: For aggregate collection mapping the reference descriptor is cloned.voidAggregateMapping. initialize(AbstractSession session)INTERNAL: Initialize the reference descriptor.voidAggregateObjectMapping. initialize(AbstractSession session)INTERNAL: For an aggregate mapping the reference descriptor is cloned.voidCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize the state of mapping.voidDatabaseMapping. initialize(AbstractSession session)INTERNAL: Allow for initialization of properties and validation.voidDirectCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize and validate the mapping properties.voidDirectMapMapping. initialize(AbstractSession session)INTERNAL: Initialize and validate the mapping properties.voidForeignReferenceMapping. initialize(AbstractSession session)INTERNAL: Initialize the state of mapping.voidManyToManyMapping. initialize(AbstractSession session)INTERNAL: Initialize mappingsvoidMultitenantPrimaryKeyMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidOneToManyMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidOneToOneMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidRelationTableMechanism. initialize(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: InitializevoidUnidirectionalOneToManyMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidVariableOneToOneMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.protected voidOneToManyMapping. initializeAddTargetQuery(AbstractSession session)INTERNAL: Initialize addTargetQuery.protected voidCollectionMapping. initializeChangeOrderTargetQuery(AbstractSession session)INTERNAL: Initialize changeOrderTargetQuery.protected voidManyToManyMapping. initializeChangeOrderTargetQuery(AbstractSession session)INTERNAL: Initialize changeOrderTargetQuery.protected voidOneToManyMapping. initializeChangeOrderTargetQuery(AbstractSession session)INTERNAL: Initialize changeOrderTargetQuery.voidAggregateCollectionMapping. initializeChildInheritance(ClassDescriptor parentDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateObjectMapping. initializeChildInheritance(ClassDescriptor parentDescriptor, AbstractSession session)INTERNAL: For an aggregate mapping the reference descriptor is cloned.protected voidAggregateCollectionMapping. initializeDeleteAllQuery(AbstractSession session)INTERNAL: Initialize delete all query.protected voidDirectCollectionMapping. initializeDeleteAllQuery(AbstractSession session)Initialize delete all query.protected voidManyToManyMapping. initializeDeleteAllQuery(AbstractSession session)Initialize delete all query.protected voidOneToManyMapping. initializeDeleteAllQuery(AbstractSession session)Initialize the delete all query.protected voidDirectCollectionMapping. initializeDeleteAtIndexQuery(AbstractSession session)protected voidDirectCollectionMapping. initializeDeleteNullQuery(AbstractSession session)protected voidDirectCollectionMapping. initializeDeleteQuery(AbstractSession session)protected voidDirectMapMapping. initializeDeleteQuery(AbstractSession session)protected voidRelationTableMechanism. initializeDeleteQuery(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Initialize delete query.protected voidDirectCollectionMapping. initializeDirectField(AbstractSession session)The field name on the reference table is initialized and cached.protected voidRelationTableMechanism. initializeExtendPessimisticLockScope(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Initialize extendPessimisticLockeScope and lockRelationTableQuery (if required).protected voidOneToOneMapping. initializeForeignKeys(AbstractSession session)INTERNAL: The foreign keys primary keys are stored as database fields in the map.protected voidVariableOneToOneMapping. initializeForeignKeys(AbstractSession session)INTERNAL: The foreign key names and their primary keys are converted to DatabaseField and stored.protected voidOneToOneMapping. initializeForeignKeysWithDefaults(AbstractSession session)INTERNAL: The foreign keys primary keys are stored as database fields in the map.protected voidDirectCollectionMapping. initializeInsertQuery(AbstractSession session)Initialize insert query.protected voidDirectMapMapping. initializeInsertQuery(AbstractSession session)Initialize insert query.protected voidRelationTableMechanism. initializeInsertQuery(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Initialize insert query.protected voidCollectionMapping. initializeListOrderField(AbstractSession session)INTERNAL: Initializes listOrderField.protected voidDirectCollectionMapping. initializeListOrderField(AbstractSession session)INTERNAL: Initializes listOrderField.protected voidCollectionMapping. initializeListOrderFieldTable(AbstractSession session)INTERNAL: Initializes listOrderField's table, does nothing by default.protected voidManyToManyMapping. initializeListOrderFieldTable(AbstractSession session)INTERNAL: Initializes listOrderField's table.protected voidRelationTableMechanism. initializeLockRelationTableQuery(AbstractSession session, ForeignReferenceMapping mapping, Expression startCriteria)INTERNAL: Initialize lockRelationTableQuery.voidAggregateCollectionMapping. initializeParentInheritance(ClassDescriptor parentDescriptor, ClassDescriptor childDescriptor, AbstractSession session, HashMap<DatabaseField,DatabaseField> fieldTranslation, HashMap<DatabaseTable,DatabaseTable> tableTranslation)INTERNAL: For aggregate mapping the reference descriptor is cloned.voidAggregateObjectMapping. initializeParentInheritance(ClassDescriptor parentDescriptor, ClassDescriptor childDescriptor, AbstractSession session)INTERNAL: For an aggregate mapping the reference descriptor is cloned.protected voidAggregateCollectionMapping. initializeReferenceDescriptor(AbstractSession session)Initialize and set the descriptor for the referenced class in this mapping.protected voidAggregateObjectMapping. initializeReferenceDescriptor(ClassDescriptor clonedDescriptor, AbstractSession session)INTERNAL: Initialize the cloned reference descriptor with table names and primary keysprotected voidDirectCollectionMapping. initializeReferenceDescriptor(AbstractSession session)There is no reference descriptorprotected voidForeignReferenceMapping. initializeReferenceDescriptor(AbstractSession session)Initialize and set the descriptor for the referenced class in this mapping.protected voidOneToManyMapping. initializeReferenceDescriptor(AbstractSession session)Initialize and set the descriptor for the referenced class in this mapping.protected voidDirectCollectionMapping. initializeReferenceKeys(AbstractSession session)The reference keys on the reference table are initializedprotected voidDirectCollectionMapping. initializeReferenceTable(AbstractSession session)Set the table qualifier on the reference table if requiredprotected voidRelationTableMechanism. initializeRelationTable(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: Set the table qualifier on the relation table if requiredprotected voidOneToManyMapping. initializeRemoveAllTargetsQuery(AbstractSession session)INTERNAL: Initialize removeAllTargetsQuery.protected voidOneToManyMapping. initializeRemoveTargetQuery(AbstractSession session)INTERNAL: Initialize removeTargetQuery.protected voidAggregateCollectionMapping. initializeSelectionCriteria(AbstractSession session)INTERNAL: Selection criteria is created with target foreign keys and source keys.protected voidDirectCollectionMapping. initializeSelectionCriteria(AbstractSession session)voidVariableOneToOneMapping. initializeSelectionCriteria(AbstractSession session)INTERNAL: Selection criteria is created with source foreign keys and target keys.protected voidDirectCollectionMapping. initializeSelectionQuery(AbstractSession session)The selection query is initializedprotected voidForeignReferenceMapping. initializeSelectionQuery(AbstractSession session)A subclass should implement this method if it wants non default behavior.protected voidDirectCollectionMapping. initializeSelectionStatement(AbstractSession session)protected voidDirectMapMapping. initializeSelectionStatement(AbstractSession session)protected voidDirectCollectionMapping. initializeSourceKeys(AbstractSession session)The source keys are initializedprotected voidDirectCollectionMapping. initializeSourceKeysWithDefaults(AbstractSession session)INTERNAL: If a user does not specify the source key then the primary keys of the source table are used.protected voidAggregateCollectionMapping. initializeTargetForeignKeyToSourceKeys(AbstractSession session)INTERNAL: The foreign keys and the primary key names are converted to DatabaseFields and stored.protected voidAggregateCollectionMapping. initializeTargetForeignKeyToSourceKeysWithDefaults(AbstractSession session)INTERNAL: The foreign keys and the primary key names are converted to DatabaseFields and stored.protected voidRelationTableMechanism. initializeTargetKeys(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: All the target key field names are converted to DatabaseField and stored.protected voidRelationTableMechanism. initializeTargetKeysWithDefaults(AbstractSession session, ForeignReferenceMapping mapping)INTERNAL: If a user does not specify the target key then the primary keys of the target table are used.protected voidDirectCollectionMapping. initializeUpdateAtIndexQuery(AbstractSession session)protected voidAggregateCollectionMapping. initializeUpdateListOrderQuery(AbstractSession session, String queryType)voidDatabaseMapping. instantiateAttribute(Object object, AbstractSession session)INTERNAL: Trigger the instantiation of the attribute if lazy.voidForeignReferenceMapping. instantiateAttribute(Object object, AbstractSession session)INTERNAL: Trigger the instantiation of the attribute if lazy.ObjectReferenceChangeRecordObjectReferenceMapping. internalBuildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record based on the newValue without comparisonbooleanAggregateObjectMapping. isJPAIdNested(AbstractSession session)INTERNAL: Flags that either this mapping or nested mapping is a JPA id mapping.voidAggregateCollectionMapping. load(Object object, AttributeItem item, AbstractSession session, boolean fromFetchGroup)Force instantiation of the load group.voidAggregateMapping. load(Object object, AttributeItem item, AbstractSession session, boolean fromFetchGroup)Force instantiation of the load group.voidCollectionMapping. load(Object object, AttributeItem item, AbstractSession session, boolean fromFetchGroup)Force instantiation of the load group.voidDatabaseMapping. load(Object object, AttributeItem item, AbstractSession session, boolean fromFetchGroup)Force instantiation of the load group.voidForeignReferenceMapping. load(Object object, AttributeItem item, AbstractSession session, boolean fromFetchGroup)Force instantiation of the load group.voidAggregateCollectionMapping. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)Force instantiation of all indirections.voidAggregateMapping. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)Force instantiation of all indirections.voidCollectionMapping. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)Force instantiation of all indirections.voidDatabaseMapping. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)Force instantiation of all indirections.voidObjectReferenceMapping. loadAll(Object object, AbstractSession session, IdentityHashSet loaded)Force instantiation of all indirections.protected voidDirectCollectionMapping. mergeAddRemoveChanges(Object valueOfTarget, Object delegateTarget, DirectCollectionChangeRecord changeRecord, MergeManager mergeManager, AbstractSession session)INTERNAL: Merge changes by adding and removing from the change record to the target object, and its delegate object if instance of IndirectCollection.protected voidAggregateMapping. mergeAttributeValue(Object targetAttributeValue, boolean isTargetUnInitialized, Object sourceAttributeValue, MergeManager mergeManager, AbstractSession targetSession)Merge the attribute values.voidAggregateCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord chgRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.abstract voidDatabaseMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectMapMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidMultitenantPrimaryKeyMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidObjectReferenceMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAggregateMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.abstract voidDatabaseMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDirectMapMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidMultitenantPrimaryKeyMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidObjectReferenceMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidDatabaseMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidDirectCollectionMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidDirectMapMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidManyToManyMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidOneToManyMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidOneToOneMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidAggregateCollectionMapping. postInitialize(AbstractSession session)INTERNAL: For aggregate collection mapping the reference descriptor is cloned.voidAggregateObjectMapping. postInitialize(AbstractSession session)INTERNAL: For an aggregate mapping the reference descriptor is cloned.voidCollectionMapping. postInitialize(AbstractSession session)INTERNAL: Ensure the container policy is post initializedvoidDatabaseMapping. postInitialize(AbstractSession session)INTERNAL: Allow for initialization of properties and validation that have dependecies no the descriptor being initialized.voidManyToManyMapping. postInitialize(AbstractSession session)INTERNAL: Ensure the container policy is post initializedvoidUnidirectionalOneToManyMapping. postInitialize(AbstractSession session)Initialize the type of the target foreign key, as it will be null as it is not mapped in the target.voidDatabaseMapping. preInitialize(AbstractSession session)INTERNAL: Allow for initialization of properties and validation.voidForeignReferenceMapping. preInitialize(AbstractSession session)INTERNAL: Initialize the state of mapping.voidObjectReferenceMapping. preInitialize(AbstractSession session)INTERNAL: Initialize the state of mapping.voidVariableOneToOneMapping. preInitialize(AbstractSession session)INTERNAL: Set the type field classification through searching the indicators hashtable.protected ReadQueryForeignReferenceMapping. prepareHistoricalQuery(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Allow for the mapping to perform any historical query additions.protected ReadQueryManyToManyMapping. prepareHistoricalQuery(ReadQuery targetQuery, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Append the temporal selection to the query selection criteria.protected ObjectLevelReadQueryForeignReferenceMapping. prepareNestedJoinQueryClone(AbstractRecord row, List dataResults, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Prepare the clone of the nested query for joining.ObjectLevelReadQueryAggregateCollectionMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.ObjectLevelReadQueryDirectCollectionMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the joined direct query.ObjectLevelReadQueryForeignReferenceMapping. prepareNestedJoins(JoinedAttributeManager joinManager, ObjectBuildingQuery baseQuery, AbstractSession session)INTERNAL: Clone and prepare the JoinedAttributeManager nested JoinedAttributeManager.protected voidCollectionMapping. prepareTranslationRow(AbstractRecord translationRow, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: copies the non primary key information into the row currently used only in ManyToManyprotected voidDirectCollectionMapping. prepareTranslationRow(AbstractRecord translationRow, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: The translation row may require additional fields than the primary key if the mapping in not on the primary key.protected voidManyToManyMapping. prepareTranslationRow(AbstractRecord translationRow, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: The translation row may require additional fields than the primary key if the mapping in not on the primary key.protected voidUnidirectionalOneToManyMapping. prepareTranslationRow(AbstractRecord translationRow, Object object, ClassDescriptor descriptor, AbstractSession session)INTERNAL: The translation row may require additional fields than the primary key if the mapping in not on the primary key.ObjectDatabaseMapping. 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.ObjectAggregateObjectMapping. 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.ObjectDatabaseMapping. 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.ObjectForeignReferenceMapping. 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.voidAggregateObjectMapping. rehashFieldDependancies(AbstractSession session)INTERNAL: Rehash any hashtables based on fields.voidDatabaseMapping. rehashFieldDependancies(AbstractSession session)INTERNAL: Rehash any hashtables based on fields.voidOneToOneMapping. rehashFieldDependancies(AbstractSession session)INTERNAL: Rehash any map based on fields.voidVariableOneToOneMapping. rehashFieldDependancies(AbstractSession session)INTERNAL: Rehash any maps based on fields.voidObjectReferenceMapping. setNewValueInChangeRecord(Object newValue, ObjectReferenceChangeRecord changeRecord, ObjectChangeSet owner, AbstractSession session)INTERNAL: Set the newValue in the change recordprotected voidForeignReferenceMapping. setTempSession(AbstractSession session)voidAggregateCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidDatabaseMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to add an object to a collection once the changeSet is applied.protected voidDirectCollectionMapping. simpleAddToCollectionChangeRecord(Object objectToAdd, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)voidDirectCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object objectToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidDirectMapMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object objectToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidAggregateCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidDatabaseMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to remove an object from a collection once the changeSet is applied.protected voidDirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object objectToRemove, Integer index, boolean isSet, ObjectChangeSet changeSet, AbstractSession session, boolean isChangeApplied)voidDirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object objectToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidDirectMapMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object objectToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.protected voidAggregateObjectMapping. translateFields(ClassDescriptor clonedDescriptor, AbstractSession session)INTERNAL: If field names are different in the source and aggregate objects then the translation is done here.protected voidAggregateObjectMapping. translateNestedFields(ClassDescriptor clonedDescriptor, AbstractSession session)INTERNAL: If field names are different in the source and aggregate objects then the translation is done here.AbstractRecordForeignReferenceMapping. trimRowForJoin(AbstractRecord row, Object value, AbstractSession executionSession)INTERNAL: Return a sub-partition of the row starting at the index.AbstractRecordForeignReferenceMapping. trimRowForJoin(AbstractRecord row, JoinedAttributeManager joinManager, AbstractSession executionSession)INTERNAL: Return a sub-partition of the row starting at the index for the mapping.ObjectAggregateObjectMapping. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to unwrap the object.ObjectOneToOneMapping. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to unwrap the object.protected voidAggregateCollectionMapping. updateNestedAggregateMappings(ClassDescriptor descriptor, AbstractSession session)INTERNAL: Called in case nestedAggregateToSourceFieldNames != null Updates AggregateObjectMappings and AggregateCollectionMappings of the reference descriptor.voidDatabaseMapping. validateAfterInitialization(AbstractSession session)INTERNAL: Allow for subclasses to perform validation.voidCollectionMapping. validateBeforeInitialization(AbstractSession session)INTERNAL: To validate mappings declarationvoidDatabaseMapping. validateBeforeInitialization(AbstractSession session)INTERNAL: Allow for subclasses to perform validation.voidForeignReferenceMapping. validateBeforeInitialization(AbstractSession session)INTERNAL: To validate mappings declarationObjectAggregateObjectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Extract value of the field from the objectObjectDatabaseMapping. valueFromObject(Object anObject, DatabaseField field, AbstractSession session)INTERNAL: A subclass should extract the value from the object for the field, if it does not map the field then it should return null.ObjectMultitenantPrimaryKeyMapping. valueFromObject(Object anObject, DatabaseField field, AbstractSession session)INTERNAL: Return the Value from the object.ObjectOneToOneMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.ObjectVariableOneToOneMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.ObjectCollectionMapping. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.abstract ObjectForeignReferenceMapping. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, AbstractSession session)This method is used to load a relationship from a list of PKs.ObjectObjectReferenceMapping. valueFromPKList(Object[] pks, AbstractRecord foreignKeys, AbstractSession session)INTERNAL: This method is used to load a relationship from a list of PKs.ObjectDatabaseMapping. 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.ObjectDatabaseMapping. 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.ObjectDirectCollectionMapping. 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.ObjectForeignReferenceMapping. 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.ObjectVariableOneToOneMapping. 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 ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectOneToOneMapping. 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 ObjectCollectionMapping. 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 ObjectDirectCollectionMapping. 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 ObjectDirectMapMapping. 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 ObjectForeignReferenceMapping. 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 ObjectOneToOneMapping. 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.booleanAggregateCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanAggregateMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Return whether the specified object and all its components have been deleted.booleanCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanDatabaseMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: To verify if the specified object has been deleted or not.booleanDirectCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanObjectReferenceMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: To verify if the specified object is deleted or not.booleanOneToManyMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Used to verify whether the specified object is deleted or not.protected booleanAggregateMapping. verifyDeleteOfAttributeValue(Object attributeValue, AbstractSession session)INTERNAL: Return whether the specified object and all its components have been deleted.ObjectAggregateObjectMapping. wrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to wrap the object.ObjectOneToOneMapping. wrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to wrap the object.voidAggregateObjectMapping. writeFromAttributeIntoRow(Object attribute, AbstractRecord row, AbstractSession session)INTERNAL: A subclass should implement this method if it wants different behavior.voidDatabaseMapping. writeFromAttributeIntoRow(Object attribute, AbstractRecord row, AbstractSession session)INTERNAL: A subclass should implement this method if it wants different behavior.voidOneToOneMapping. writeFromAttributeIntoRow(Object attribute, AbstractRecord row, AbstractSession session)INTERNAL: A subclass should implement this method if it wants different behavior.voidAggregateObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.voidDatabaseMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: A subclass should implement this method if it wants different behavior.voidMultitenantPrimaryKeyMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidOneToOneMapping. writeFromObjectIntoRow(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidVariableOneToOneMapping. writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAggregateObjectMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord row, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord row, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidVariableOneToOneMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord ChangeRecord, AbstractRecord databaseRow, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidVariableOneToOneMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidAggregateObjectMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidVariableOneToOneMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidAggregateObjectMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord row, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.voidDatabaseMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.voidOneToOneMapping. writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts.protected voidOneToOneMapping. writeFromObjectIntoRowInternal(Object object, AbstractRecord databaseRow, AbstractSession session, OneToOneMapping.ShallowMode mode, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAggregateObjectMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord databaseRow, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.voidDatabaseMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: A subclass should implement this method if it wants different behavior.voidOneToOneMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord databaseRow, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidVariableOneToOneMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAggregateObjectMapping. writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidDatabaseMapping. writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidMultitenantPrimaryKeyMapping. writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidOneToOneMapping. writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidVariableOneToOneMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.protected voidAggregateObjectMapping. writeToRowFromAggregate(AbstractRecord record, Object object, Object attributeValue, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Write the aggregate values into the parent row.protected voidAggregateObjectMapping. writeToRowFromAggregateForShallowInsert(AbstractRecord record, Object object, Object attributeValue, AbstractSession session)INTERNAL: Write the aggregate values into the parent row for shallow insert.protected voidAggregateObjectMapping. writeToRowFromAggregateForUpdateAfterShallowInsert(AbstractRecord record, Object object, Object attributeValue, AbstractSession session, DatabaseTable table)INTERNAL: Write the aggregate values into the parent row for update after shallow insert.protected voidAggregateObjectMapping. writeToRowFromAggregateForUpdateBeforeShallowDelete(AbstractRecord record, Object object, Object attributeValue, AbstractSession session, DatabaseTable table)INTERNAL: Write the aggregate values into the parent row for update before shallow delete.protected voidAggregateObjectMapping. writeToRowFromAggregateWithChangeRecord(AbstractRecord record, ChangeRecord changeRecord, ObjectChangeSet objectChangeSet, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Build and return a database row built with the values from the specified attribute value.voidAggregateObjectMapping. writeUpdateFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)voidDatabaseMapping. writeUpdateFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for update into the template for with null values. -
Uses of AbstractSession in org.eclipse.persistence.mappings.converters
Fields in org.eclipse.persistence.mappings.converters declared as AbstractSession Modifier and Type Field Description protected AbstractSessionConverterClass. sessionMethods in org.eclipse.persistence.mappings.converters with parameters of type AbstractSession Modifier and Type Method Description voidConverterClass. setSession(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation with parameters of type AbstractSession Modifier and Type Method Description ObjectAbstractCompositeCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectAbstractCompositeDirectCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ChangeRecordAbstractDirectMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonChangeRecordAbstractTransformationMapping. buildChangeRecord(Object clone, ObjectChangeSet owner, AbstractSession session)INTERNAL: Directly build a change record without comparisonObjectAbstractCompositeCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.ObjectAbstractCompositeDirectCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return a change set for the specified element.voidAbstractCompositeDirectCollectionMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidAbstractDirectMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidAbstractTransformationMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.ObjectAbstractTransformationMapping. buildCloneForPartObject(Object attributeValue, Object original, CacheKey cacheKey, Object clone, AbstractSession cloningSession, Integer refreshCascade, boolean isExisting, boolean isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned.voidAbstractCompositeDirectCollectionMapping. 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.voidAbstractDirectMapping. 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.voidAbstractTransformationMapping. 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 ObjectAbstractCompositeCollectionMapping. buildClonePart(Object original, Object clone, CacheKey cacheKey, Object attributeValue, Integer refreshCascade, AbstractSession clonningSession)Build and return a clone of the attribute.protected ObjectAbstractCompositeDirectCollectionMapping. buildClonePart(Object attributeValue, CacheKey parentCacheKey, AbstractSession cloningSession)Build and return a clone of the specified attribute value.voidAbstractDirectMapping. buildCloneValue(Object original, Object clone, AbstractSession session)INTERNAL: Clone the attribute from the original and assign it to the clone.protected ObjectAbstractDirectMapping. buildCloneValue(Object attributeValue, AbstractSession session)INTERNAL: Clone the actual value represented by this mapping.protected abstract ObjectAbstractCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)protected abstract ObjectAbstractCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)protected abstract AbstractRecordAbstractCompositeCollectionMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord record, DatabaseMapping.WriteType writeType)protected abstract ObjectAbstractCompositeObjectMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord record, DatabaseMapping.WriteType writeType)ObjectAbstractDirectMapping. buildElementClone(Object attributeValue, Object parent, CacheKey cacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)Build a clone of the given element in a unitOfWork.ObjectMapKeyMapping. buildElementClone(Object element, Object parent, CacheKey cacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isExisting, boolean isFromSharedCache)Build a clone of the given element in a unitOfWorkprotected ObjectAbstractCompositeCollectionMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.protected ObjectAbstractCompositeDirectCollectionMapping. buildElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the change set.ObjectAbstractCompositeCollectionMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ObjectAbstractCompositeDirectCollectionMapping. buildElementFromElement(Object object, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the specified element.ExpressionAbstractCompositeCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractCompositeObjectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractDirectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value for a directToField mapping.protected AbstractRecordAbstractTransformationMapping. buildPhantomRowFrom(Object domainObject, AbstractSession session)INTERNAL Build a phantom row that contains only the fields for the mapping, populated with the values generated by invoking the field methods on the specified object.ObjectAbstractCompositeCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.ObjectAbstractCompositeDirectCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Build and return a new element based on the change set.voidAbstractCompositeObjectMapping. buildShallowOriginalFromRow(AbstractRecord row, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidAbstractDirectMapping. buildShallowOriginalFromRow(AbstractRecord databaseRow, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.voidAbstractTransformationMapping. buildShallowOriginalFromRow(AbstractRecord record, Object original, JoinedAttributeManager joinManager, ObjectBuildingQuery query, AbstractSession executionSession)INTERNAL: Builds a shallow original object.booleanAbstractCompositeCollectionMapping. compareElements(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements and return true if they are alike.booleanAbstractCompositeDirectCollectionMapping. compareElements(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements.booleanAbstractCompositeCollectionMapping. compareElementsForChange(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements and return true if they are alike.booleanAbstractCompositeDirectCollectionMapping. compareElementsForChange(Object element1, Object element2, AbstractSession session)INTERNAL: Compare the non-null elements and return true if they are alike.ChangeRecordAbstractCompositeCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two direct collection attributes.ChangeRecordAbstractCompositeDirectCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two direct collection attributes.ChangeRecordAbstractDirectMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the clone and backup clone values and return a change record if the value changed.ChangeRecordAbstractTransformationMapping. compareForChange(Object clone, Object backUp, ObjectChangeSet owner, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanAbstractCompositeCollectionMapping. compareObjects(Object object1, Object object2, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanAbstractCompositeDirectCollectionMapping. compareObjects(Object object1, Object object2, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanAbstractDirectMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanAbstractTransformationMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.protected booleanAbstractDirectMapping. compareObjectValues(Object firstValue, Object secondValue, AbstractSession session)INTERNAL: Compare the attribute values.protected ChangeRecordAbstractCompositeCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)protected ChangeRecordAbstractCompositeDirectCollectionMapping. convertToChangeRecord(Object cloneCollection, ObjectChangeSet owner, AbstractSession session)<T> DatabaseValueHolder<T>AbstractTransformationMapping. createCloneValueHolder(ValueHolderInterface<T> attributeValue, Object original, Object clone, AbstractRecord row, AbstractSession cloningSession, boolean buildDirectlyFromRow)INTERNAL: Builder the unit of work value holder.ObjectAbstractDirectMapping. 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.ObjectMapKeyMapping. 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.ObjectAbstractCompositeCollectionMapping. 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.ObjectAbstractCompositeDirectCollectionMapping. 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.ObjectAbstractDirectMapping. 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.ObjectMapComponentMapping. 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.List<Object>AbstractDirectMapping. createMapComponentsFromSerializableKeyInfo(Object[] keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.List<Object>MapKeyMapping. createMapComponentsFromSerializableKeyInfo(Object[] keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.ObjectAbstractDirectMapping. createSerializableMapKeyInfo(Object key, AbstractSession session)INTERNAL: Creates the Array of simple types used to recreate this map.ObjectMapKeyMapping. createSerializableMapKeyInfo(Object key, AbstractSession session)INTERNAL: Creates the Array of simple types used to recreate this map.ObjectAbstractDirectMapping. createStubbedMapComponentFromSerializableKeyInfo(Object keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.ObjectMapKeyMapping. createStubbedMapComponentFromSerializableKeyInfo(Object keyInfo, AbstractSession session)INTERNAL: Create an instance of the Key object from the key information extracted from the map.voidAbstractDirectMapping. deleteMapKey(Object objectDeleted, AbstractSession session)INTERNAL: For mappings used as MapKeys in MappedKeyContainerPolicy, Delete the passed object if necessary.voidMapKeyMapping. deleteMapKey(Object objectDeleted, AbstractSession session)INTERNAL: For mappings used as MapKeys in MappedKeyContainerPolicy, Delete the passed object if necessary.MapAbstractDirectMapping. extractIdentityFieldsForQuery(Object object, AbstractSession session)INTERNAL: Extract the fields for the Map key from the object to use in a query.MapMapKeyMapping. extractIdentityFieldsForQuery(Object key, AbstractSession session)INTERNAL: Extract the fields for the Map key from the object to use in a queryabstract ObjectAbstractColumnMapping. getFieldValue(Object objectValue, AbstractSession session)INTERNAL: Convert the object (attribute or property) value to a field value.ObjectAbstractDirectMapping. getFieldValue(Object attributeValue, AbstractSession session)INTERNAL: Convert the attribute value to a field value.ObjectLevelReadQueryAbstractDirectMapping. getNestedJoinQuery(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Return the query that is used when this mapping is part of a joined relationship This method is used when this mapping is used to map the key in a Map.ObjectLevelReadQueryMapKeyMapping. getNestedJoinQuery(JoinedAttributeManager joinManager, ObjectLevelReadQuery query, AbstractSession session)INTERNAL: Return the query that is used when this mapping is part of a joined relationshipObjectAbstractTransformationMapping. getRealAttributeValueFromAttribute(Object attributeValue, Object object, AbstractSession session)INTERNAL: Returns the real attribute value from the reference object's attribute value.ObjectAbstractCompositeCollectionMapping. getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)INTERNAL: Convenience method.ObjectAbstractCompositeDirectCollectionMapping. getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)INTERNAL: Convenience method.ObjectAbstractDirectMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge manager.ObjectMapKeyMapping. getTargetVersionOfSourceObject(Object object, Object parent, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: If required, get the targetVersion of the source object from the merge managervoidAbstractCompositeCollectionMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidAbstractCompositeDirectCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidAbstractCompositeObjectMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidAbstractDirectMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidAbstractTransformationMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.protected voidAbstractTransformationMapping. initializeAttributeTransformer(AbstractSession databaseSession)INTERNAL: Convert the attribute transformer class name into an AttributeTransformer If the old-style method name in set, then use a MethodBasedAttributeTRansformerprotected voidAbstractTransformationMapping. initializeFieldToTransformers(AbstractSession session)INTERNAL: Convert the field names and their corresponding method names to DatabaseFields and Methods.voidAbstractTransformationMapping. instantiateAttribute(Object object, AbstractSession session)INTERNAL: Trigger the instantiation of the attribute if lazy.ChangeRecordAbstractTransformationMapping. internalBuildChangeRecord(Object clone, Object oldValue, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build a change record.ObjectAbstractTransformationMapping. invokeAttributeTransformer(AbstractRecord record, Object domainObject, AbstractSession session)INTERNAL: Invoke the buildAttributeValue method on the AttributeTransformerprotected ObjectAbstractTransformationMapping. invokeFieldTransformer(DatabaseField field, Object domainObject, AbstractSession session)protected ObjectAbstractTransformationMapping. invokeFieldTransformer(DatabaseField field, FieldTransformer transformer, Object domainObject, AbstractSession session)INTERNAL: Invoke the buildFieldValue on the appropriate FieldTransformerbooleanAbstractCompositeCollectionMapping. mapKeyHasChanged(Object element, AbstractSession session)INTERNAL: Return whether the element's user-defined Map key has changed since it was cloned from the original version.booleanAbstractCompositeDirectCollectionMapping. mapKeyHasChanged(Object element, AbstractSession session)INTERNAL: Return whether the element's user-defined Map key has changed since it was cloned from the original version.voidAbstractCompositeCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeDirectCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractDirectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractTransformationMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractCompositeDirectCollectionMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractDirectMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractTransformationMapping. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidAbstractDirectMapping. preInitialize(AbstractSession session)INTERNAL: Initialize the attribute classification.voidAbstractTransformationMapping. preInitialize(AbstractSession session)INTERNAL: Allow for initialization of properties and validation.ObjectAbstractTransformationMapping. 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.voidAbstractCompositeCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidAbstractCompositeDirectCollectionMapping. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object add to a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidAbstractCompositeCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.voidAbstractCompositeDirectCollectionMapping. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to have an object removed from a collection once the changeSet is applied The referenceKey parameter should only be used for direct Maps.ObjectAbstractDirectMapping. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to unwrap the object.ObjectMapKeyMapping. unwrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to unwrap the objectvoidAbstractDirectMapping. validateBeforeInitialization(AbstractSession session)INTERNAL: Allow for subclasses to perform validation.voidAbstractTransformationMapping. validateBeforeInitialization(AbstractSession session)INTERNAL: Validate mapping declarationObjectAbstractCompositeObjectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Extract and return value of the field from the objectObjectAbstractDirectMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get the value from the object for this mapping.ObjectAbstractTransformationMapping. valueFromObject(Object object, DatabaseField field, AbstractSession session)INTERNAL: Get a value from the object and set that in the respective field of the row.ObjectAbstractDirectMapping. 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.ObjectAbstractCompositeCollectionMapping. 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.ObjectAbstractCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectAbstractCompositeObjectMapping. 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.ObjectAbstractDirectMapping. 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.protected booleanAbstractCompositeCollectionMapping. verifyDeleteOfAttributeValue(Object attributeValue, AbstractSession session)Return whether the specified object and all its components have been deleted.ObjectAbstractDirectMapping. wrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to wrap the object.ObjectMapKeyMapping. wrapKey(Object key, AbstractSession session)INTERNAL: Allow the key mapping to wrap the objectvoidAbstractCompositeCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.voidAbstractCompositeDirectCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and store it in the appropriate field of the row.voidAbstractCompositeObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Build the value for the database field and put it in the specified database row.voidAbstractDirectMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAbstractTransformationMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAbstractCompositeCollectionMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.voidAbstractCompositeDirectCollectionMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the appropriate attribute value from the object and put it in the appropriate field of the database row.voidAbstractCompositeObjectMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get the attribute value from the object and add the appropriate values to the specified database row.voidAbstractDirectMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAbstractTransformationMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidAbstractCompositeCollectionMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template with null values.voidAbstractCompositeDirectCollectionMapping. writeInsertFieldsIntoRow(AbstractRecord row, AbstractSession session)INTERNAL: Write the fields needed for insert into the template with null values.voidAbstractCompositeObjectMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidAbstractDirectMapping. writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidAbstractTransformationMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidAbstractDirectMapping. writeUpdateFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)INTERNAL: Write fields needed for update into the template for with null values. -
Uses of AbstractSession in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures with parameters of type AbstractSession Modifier and Type Method Description ObjectArrayCollectionMapping. buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a newly-added element based on the change set.ObjectArrayCollectionMapping. buildChangeSet(Object element, ObjectChangeSet owner, AbstractSession session)Build and return a change set for the specified element.protected ObjectObjectArrayMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected ObjectStructureMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected AbstractRecordObjectArrayMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord parentRow, DatabaseMapping.WriteType writeType)protected ObjectStructureMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord Record, DatabaseMapping.WriteType writeType)static ObjectObjectRelationalDataTypeDescriptor. buildContainerFromArray(Array fieldValue, ObjectRelationalDatabaseField arrayField, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.ObjectArrayCollectionMapping. buildElementFromElement(Object element, MergeManager mergeManager, AbstractSession targetSession)Build and return a new element based on the specified element.ExpressionNestedTableMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.VectorObjectRelationalDataTypeDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.ObjectArrayCollectionMapping. buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession)Build and return a recently-removed element based on the change set.StructObjectRelationalDataTypeDescriptor. buildStructureFromRow(AbstractRecord row, AbstractSession session, Connection connection)INTERNAL: Build a ADT structure from the row data.booleanArrayCollectionMapping. compareElements(Object element1, Object element2, AbstractSession session)Compare the non-null elements and return true if they are alike.protected booleanArrayCollectionMappingHelper. compareElements(Object element1, Object element2, AbstractSession session)Convenience method.booleanArrayCollectionMapping. compareElementsForChange(Object element1, Object element2, AbstractSession session)Compare the non-null elements and return true if they are alike.protected booleanArrayCollectionMappingHelper. compareElementsForChange(Object element1, Object element2, AbstractSession session)Convenience method.ChangeRecordArrayCollectionMappingHelper. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: Build and return the change record that results from comparing the two collection attributes.booleanArrayCollectionMappingHelper. compareObjects(Object object1, Object object2, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.ObjectArrayCollectionMapping. getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)Return the attribute value from the specified object, unwrapping the value holder if necessary.RefObjectRelationalDataTypeDescriptor. getRef(Object object, AbstractSession session)INTERNAL: Get the ref for the object.voidArrayMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidNestedTableMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidObjectArrayMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidObjectRelationalDataTypeDescriptor. initialize(AbstractSession session)INTERNAL: Auto-Default orderedFields to fieldsvoidReferenceMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidStructureMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.protected voidNestedTableMapping. initializeSelectionCriteria(AbstractSession session)INTERNAL: Selection criteria is created to read target records (nested table) from the table.booleanArrayCollectionMapping. mapKeyHasChanged(Object element, AbstractSession session)Return whether the element's user-defined Map key has changed since it was cloned from the original version.voidArrayCollectionMappingHelper. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidArrayCollectionMappingHelper. mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidNestedTableMapping. postInitialize(AbstractSession session)INTERNAL: Post Initialize the mapping.booleanObjectRelationalDataTypeDescriptor. requiresInitialization(AbstractSession session)INTERNAL: Aggregates obj-rel are initialized normally as no cloning is required.voidArrayCollectionMappingHelper. simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to add an object to a collection once the changeSet is applied.voidArrayCollectionMappingHelper. simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToRemove, ObjectChangeSet changeSet, AbstractSession session)ADVANCED: This method is used to remove an object from a collection once the changeSet is applied.ObjectReferenceMapping. 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.voidNestedTableMapping. writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidReferenceMapping. writeFromObjectIntoRow(Object object, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidNestedTableMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidReferenceMapping. writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidNestedTableMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidReferenceMapping. writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session)INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts.voidNestedTableMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord record, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidReferenceMapping. writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord record, AbstractSession session, DatabaseTable table)INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts.voidReferenceMapping. writeFromObjectIntoRowInternal(Object object, AbstractRecord record, AbstractSession session, boolean shouldIgnoreNull)INTERNAL: Get a value from the object and set that in the respective field of the row.voidNestedTableMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidReferenceMapping. writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord record, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidNestedTableMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values.voidReferenceMapping. writeInsertFieldsIntoRow(AbstractRecord record, AbstractSession session)INTERNAL: Write fields needed for insert into the template for with null values. -
Uses of AbstractSession in org.eclipse.persistence.mappings.xdb
Methods in org.eclipse.persistence.mappings.xdb with parameters of type AbstractSession Modifier and Type Method Description protected ObjectDirectToXMLTypeMapping. buildCloneValue(Object attributeValue, AbstractSession session)INTERNAL: Clone the DOM Document if required.protected booleanDirectToXMLTypeMapping. compareObjectValues(Object firstValue, Object secondValue, AbstractSession session)INTERNAL: Compare the attribute values.voidDirectToXMLTypeMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidDirectToXMLTypeMapping. preInitialize(AbstractSession session)INTERNAL: Default to mutable if mapped as a DOM. -
Uses of AbstractSession in org.eclipse.persistence.oxm
Methods in org.eclipse.persistence.oxm that return AbstractSession Modifier and Type Method Description AbstractSessionXMLContext. getReadSession(Class<?> clazz)INTERNAL: Return the session corresponding to this class.AbstractSessionXMLContext. getReadSession(Object object)INTERNAL: Return the session corresponding to this object.AbstractSessionXMLContext. getReadSession(XMLDescriptor xmlDescriptor)INTERNAL: Return the session corresponding to this XMLDescriptor.AbstractSessionXMLContext. getSession(Class<?> clazz)INTERNAL: Return the session corresponding to this class.AbstractSessionXMLContext. getSession(Object object)INTERNAL: Return the session corresponding to this object.AbstractSessionXMLContext. getSession(XMLDescriptor xmlDescriptor)INTERNAL: Return the session corresponding to this XMLDescriptor.Methods in org.eclipse.persistence.oxm with parameters of type AbstractSession Modifier and Type Method Description voidXMLContext. applyORMMetadata(AbstractSession ormSession)ADVANCED: Adjust the OXM metadata to take into account ORM mapping metadata,ObjectXMLDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectXMLDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.VectorXMLDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build(if necessary) and return a Vector of the nested XMLRecords from the specified field value.UnmarshalRecordXMLUnmarshaller. createUnmarshalRecord(XMLDescriptor xmlDescriptor, AbstractSession session)INTERNALprotected XMLDescriptorXMLMarshaller. getDescriptor(Object object, AbstractSession session, boolean isXMLRoot)DocumentPreservationPolicyXMLContext. getDocumentPreservationPolicy(AbstractSession session)INTERNAL: Return the DocumentPreservationPolicy associated with this sessionprotected NodeXMLMarshaller. getNode(Object object, Node parentNode, AbstractSession session, XMLDescriptor xmlDescriptor, boolean isXMLRoot)voidXMLDescriptor. initialize(AbstractSession session)INTERNAL: Initialize the mappings as a separate step.voidXMLDescriptor. initializeAggregateInheritancePolicy(AbstractSession session)INTERNAL: This is needed by regular aggregate descriptors (because they require review); but not by XML aggregate descriptors.protected voidXMLMarshaller. marshal(Object object, AbstractSession session, MarshalRecord marshalRecord)Convert the given object to XML and update the given marshal record with that XML Document.protected NodeXMLMarshaller. objectToXMLNode(Object object, Node rootNode, AbstractSession session, XMLDescriptor descriptor, boolean isXMLRoot)voidXMLDescriptor. postInitialize(AbstractSession session)INTERNAL: Post initializations after mappings are initialized.voidXMLDescriptor. preInitialize(AbstractSession session)INTERNAL: Allow the descriptor to initialize any dependencies on this session.protected voidXMLDescriptor. preInitializeInheritancePolicy(AbstractSession session)booleanXMLDescriptor. requiresInitialization(AbstractSession session)INTERNAL: XML descriptors are initialized normally, since they do not need to be cloned by XML aggregate mappings. -
Uses of AbstractSession in org.eclipse.persistence.oxm.mappings
Methods in org.eclipse.persistence.oxm.mappings with parameters of type AbstractSession Modifier and Type Method Description voidXMLAnyAttributeMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidXMLAnyCollectionMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidXMLAnyObjectMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidXMLChoiceCollectionMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidXMLChoiceObjectMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone.voidXMLInverseReferenceMapping. buildClone(Object original, CacheKey cacheKey, Object clone, Integer refreshCascade, AbstractSession cloningSession)voidXMLAnyAttributeMapping. buildCloneFromRow(AbstractRecord Record, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLAnyObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceCollectionMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLChoiceObjectMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)voidXMLInverseReferenceMapping. buildCloneFromRow(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery sourceQuery, UnitOfWorkImpl unitOfWork, AbstractSession executionSession)protected ObjectXMLCompositeCollectionMapping. buildCompositeObject(ClassDescriptor descriptor, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManger, AbstractSession targetSession)protected ObjectXMLCompositeObjectMapping. buildCompositeObject(ObjectBuilder objectBuilder, AbstractRecord nestedRow, ObjectBuildingQuery query, CacheKey parentCacheKey, JoinedAttributeManager joinManager, AbstractSession targetSession)protected AbstractRecordXMLAnyAttributeMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord parentRow)protected AbstractRecordXMLAnyCollectionMapping. buildCompositeRow(Object attributeValue, AbstractSession session, XMLDescriptor referenceDescriptor, AbstractRecord parentRow, DatabaseField field, Object originalObject, boolean wasXMLRoot)protected AbstractRecordXMLAnyObjectMapping. buildCompositeRow(Object attributeValue, AbstractSession session, XMLDescriptor referenceDescriptor, AbstractRecord parentRow, DatabaseField field, Object originalObject, boolean wasXMLRoot)protected AbstractRecordXMLCompositeCollectionMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord parentRow, DatabaseMapping.WriteType writeType)protected ObjectXMLCompositeObjectMapping. buildCompositeRow(Object attributeValue, AbstractSession session, AbstractRecord databaseRow, DatabaseMapping.WriteType writeType)protected AbstractRecordXMLVariableXPathCollectionMapping. buildCompositeRow(XMLField variableField, Object attributeValue, AbstractSession session, AbstractRecord parentRow, DatabaseMapping.WriteType writeType)protected AbstractRecordXMLVariableXPathObjectMapping. buildCompositeRow(XMLField variableField, Object attributeValue, AbstractSession session, AbstractRecord parentRow, DatabaseMapping.WriteType writeType)protected AbstractRecordXMLCompositeCollectionMapping. buildCompositeRowForDescriptor(ClassDescriptor classDesc, Object attributeValue, AbstractSession session, XMLRecord parentRow, DatabaseMapping.WriteType writeType)protected AbstractRecordXMLCompositeObjectMapping. buildCompositeRowForDescriptor(ClassDescriptor classDesc, Object attributeValue, AbstractSession session, XMLRecord parentRow, DatabaseMapping.WriteType writeType)ObjectXMLCollectionReferenceMapping. buildFieldValue(Object targetObject, XMLField xmlFld, AbstractSession session)INTERNAL: Retrieve the target object's primary key value that is mapped to a given source xpath (in the source-target key field association list).ObjectXMLObjectReferenceMapping. buildFieldValue(Object targetObject, XMLField xmlFld, AbstractSession session)INTERNAL: Retrieve the target object's primary key value that is mapped to a given source xpath (in the source-target key field association list).protected ObjectXMLAbstractAnyMapping. 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 ObjectXMLAbstractAnyMapping. buildObjectForNonXMLRoot(ClassDescriptor referenceDescriptor, XMLConverter converter, ObjectBuildingQuery query, DOMRecord record, DOMRecord nestedRecord, JoinedAttributeManager joinManager, AbstractSession session, Node next, Object container, ContainerPolicy containerPolicy)ObjectXMLCompositeCollectionMapping. buildObjectFromNestedRow(AbstractRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)protected ObjectXMLAbstractAnyMapping. buildObjectNoReferenceDescriptor(DOMRecord record, XMLConverter converter, AbstractSession session, Node next, Object container, ContainerPolicy cp)Convenience method that takes a given Node and applies namespace information, converts it if necessary, and adds the resulting object to the given ContainerPolicy if non-null.voidXMLCollectionReferenceMapping. buildReference(Object srcObject, XMLField xmlField, Object object, AbstractSession session, Object container, ReferenceResolver resolver)INTERNAL: Create (if necessary) and populate a reference object that will be used during the mapping reference resolution phase after unmarshalling is complete.voidXMLCollectionReferenceMapping. buildReference(UnmarshalRecord record, XMLField xmlField, Object object, AbstractSession session, Object container)INTERNAL: Create (if necessary) and populate a reference object that will be used during the mapping reference resolution phase after unmarshalling is complete.voidXMLObjectReferenceMapping. buildReference(UnmarshalRecord record, XMLField xmlField, Object object, AbstractSession session)INTERNAL: Create (if necessary) and populate a reference object that will be used during the mapping reference resolution phase after unmarshalling is complete.protected XMLRootXMLAbstractAnyMapping. buildXMLRootForText(Node node, QName schemaTypeQName, XMLConverter converter, AbstractSession session, DOMRecord record)Convenience method that takes a given node and checks the first child for TEXT_NODE.ChangeRecordXMLAnyAttributeMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLAnyCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLAnyObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLChoiceCollectionMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLChoiceObjectMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)INTERNAL: This method was created in VisualAge.ChangeRecordXMLInverseReferenceMapping. compareForChange(Object clone, Object backup, ObjectChangeSet owner, AbstractSession session)booleanXMLAnyAttributeMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanXMLAnyCollectionMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanXMLAnyObjectMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanXMLChoiceCollectionMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanXMLChoiceObjectMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)INTERNAL: Compare the attributes belonging to this mapping for the objects.booleanXMLInverseReferenceMapping. compareObjects(Object firstObject, Object secondObject, AbstractSession session)ObjectXMLDirectMapping. getAttributeValue(Object fieldValue, AbstractSession session, AbstractUnmarshalRecord record)INTERNAL: Allows for subclasses to convert the attribute value.protected XMLDescriptorXMLAbstractAnyMapping. getDescriptor(XMLRecord xmlRecord, AbstractSession session, QName rootQName)protected XMLDescriptorXMLAnyAttributeMapping. getDescriptor(XMLRecord xmlRecord, AbstractSession session)protected XMLDescriptorXMLCompositeCollectionMapping. getDescriptor(XMLRecord xmlRecord, AbstractSession session, QName rootQName)protected XMLDescriptorXMLCompositeObjectMapping. getDescriptor(XMLRecord xmlRecord, AbstractSession session, QName rootQName)protected ClassDescriptorXMLCompositeCollectionMapping. getReferenceDescriptor(Class<?> theClass, AbstractSession session)protected ClassDescriptorXMLCompositeObjectMapping. getReferenceDescriptor(Class<?> theClass, AbstractSession session)protected QNameXMLObjectReferenceMapping. getSchemaType(XMLField xmlField, Object value, AbstractSession session)Return a QName representation the schema type for a given XMLField, if applicable.protected QNameXMLObjectReferenceMapping. getSingleValueToWriteForUnion(XMLUnionField xmlField, Object value, AbstractSession session)Return a single QName representation for a given XMLUnionField, if applicable.ObjectXMLBinaryDataCollectionMapping. getValueToWrite(Object value, Object parent, XMLRecord record, XMLField field, XMLField includeField, AbstractSession session)protected StringXMLObjectReferenceMapping. getValueToWrite(QName schemaType, Object value, AbstractSession session)Return a string representation of a given value, based on a given schema type.voidXMLAnyAttributeMapping. initialize(AbstractSession session)voidXMLAnyCollectionMapping. initialize(AbstractSession session)voidXMLAnyObjectMapping. initialize(AbstractSession session)voidXMLChoiceCollectionMapping. initialize(AbstractSession session)voidXMLChoiceObjectMapping. initialize(AbstractSession session)voidXMLCollectionReferenceMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidXMLCompositeCollectionMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidXMLCompositeDirectCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidXMLCompositeObjectMapping. initialize(AbstractSession session)INTERNAL: The mapping is initialized with the given session.voidXMLDirectMapping. initialize(AbstractSession session)voidXMLFragmentCollectionMapping. initialize(AbstractSession session)INTERNAL: Initialize the mapping.voidXMLInverseReferenceMapping. initialize(AbstractSession session)voidXMLObjectReferenceMapping. initialize(AbstractSession session)INTERNAL: Register a ReferenceResolver as an event listener on the session, if one doesn't already exist.voidXMLVariableXPathCollectionMapping. initialize(AbstractSession session)voidXMLVariableXPathObjectMapping. initialize(AbstractSession session)protected voidXMLCompositeCollectionMapping. initializeMapContainerPolicy(AbstractSession session, MapContainerPolicy cp)protected voidXMLVariableXPathCollectionMapping. initializeMapContainerPolicy(AbstractSession session, MapContainerPolicy cp)protected voidXMLCompositeCollectionMapping. initializeReferenceDescriptorAndField(AbstractSession session)protected voidXMLCompositeObjectMapping. initializeReferenceDescriptorAndField(AbstractSession session)protected voidXMLVariableXPathCollectionMapping. initializeReferenceDescriptorAndField(AbstractSession session)protected voidXMLVariableXPathObjectMapping. initializeReferenceDescriptorAndField(AbstractSession session)voidXMLAnyAttributeMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyObjectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceCollectionMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceObjectMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLInverseReferenceMapping. mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)voidXMLAnyAttributeMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyCollectionMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLAnyObjectMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceCollectionMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLChoiceObjectMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)INTERNAL: Merge changes from the source to the target object.voidXMLInverseReferenceMapping. mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)voidXMLInverseReferenceMapping. postInitialize(AbstractSession session)voidXMLAbstractAnyMapping. preInitialize(AbstractSession session)voidXMLAnyAttributeMapping. preInitialize(AbstractSession session)voidXMLChoiceCollectionMapping. preInitialize(AbstractSession session)voidXMLChoiceObjectMapping. preInitialize(AbstractSession session)voidXMLCompositeCollectionMapping. preInitialize(AbstractSession session)voidXMLCompositeDirectCollectionMapping. preInitialize(AbstractSession session)voidXMLCompositeObjectMapping. preInitialize(AbstractSession session)voidXMLDirectMapping. preInitialize(AbstractSession session)voidXMLFragmentCollectionMapping. preInitialize(AbstractSession session)voidXMLInverseReferenceMapping. preInitialize(AbstractSession session)voidXMLObjectReferenceMapping. preInitialize(AbstractSession session)voidXMLTransformationMapping. preInitialize(AbstractSession session)ObjectXMLChoiceObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCollectionReferenceMapping. 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.ObjectXMLCollectionReferenceMapping. 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.ObjectXMLCompositeObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLObjectReferenceMapping. 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.ObjectXMLTransformationMapping. readFromRowIntoObject(XMLRecord row, Object object, AbstractSession executionSession, boolean isTargetProtected)INTERNAL: Extract value from the row and set the attribute to the value in the object.ObjectXMLAnyAttributeMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLBinaryDataCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLBinaryDataMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectXMLCompositeObjectMapping. valueFromRow(Object fieldValue, XMLRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCompositeObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLDirectMapping. 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.ObjectXMLFragmentCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectXMLFragmentMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)voidXMLAnyAttributeMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLAnyCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLAnyObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLBinaryDataCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLBinaryDataMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLChoiceCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLChoiceObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLCollectionReferenceMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Write the attribute value from the object to the row.voidXMLCompositeCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL:voidXMLCompositeDirectCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL:voidXMLCompositeObjectMapping. writeFromObjectIntoRow(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL:voidXMLDirectMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidXMLFragmentCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL:voidXMLFragmentMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Get a value from the object and set that in the respective field of the row.voidXMLObjectReferenceMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)INTERNAL: Write the attribute value from the object to the row.voidXMLVariableXPathCollectionMapping. writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.WriteType writeType)voidXMLAnyAttributeMapping. writeSingleValue(Object attributeValue, Object parent, XMLRecord row, AbstractSession session)voidXMLAnyCollectionMapping. writeSingleValue(Object element, Object parent, XMLRecord row, AbstractSession session)voidXMLAnyObjectMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLBinaryDataCollectionMapping. writeSingleValue(Object value, Object parent, XMLRecord record, AbstractSession session)voidXMLBinaryDataMapping. writeSingleValue(Object attributeValue, Object parent, XMLRecord record, AbstractSession session)voidXMLChoiceCollectionMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLChoiceObjectMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLCollectionReferenceMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLCompositeCollectionMapping. writeSingleValue(Object value, Object parent, XMLRecord record, AbstractSession session)voidXMLCompositeDirectCollectionMapping. writeSingleValue(Object value, Object parent, XMLRecord record, AbstractSession session)voidXMLCompositeObjectMapping. writeSingleValue(Object value, Object parent, XMLRecord record, AbstractSession session)voidXMLDirectMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLFragmentCollectionMapping. writeSingleValue(Object attributeValue, Object parent, XMLRecord row, AbstractSession session)voidXMLFragmentMapping. writeSingleValue(Object attributeValue, Object parent, XMLRecord row, AbstractSession session)voidXMLInverseReferenceMapping. writeSingleValue(Object value, Object object, XMLRecord record, AbstractSession session)voidXMLMapping. writeSingleValue(Object value, Object parent, XMLRecord record, AbstractSession session)INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath.voidXMLObjectReferenceMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLTransformationMapping. writeSingleValue(Object value, Object parent, XMLRecord row, AbstractSession session)voidXMLVariableXPathObjectMapping. writeSingleValue(Object value, Object parent, XMLRecord xmlRow, AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.oxm.record
Fields in org.eclipse.persistence.oxm.record declared as AbstractSession Modifier and Type Field Description protected AbstractSessionXMLRecord. sessionMethods in org.eclipse.persistence.oxm.record that return AbstractSession Modifier and Type Method Description AbstractSessionXMLRecord. getSession()Methods in org.eclipse.persistence.oxm.record with parameters of type AbstractSession Modifier and Type Method Description voidUnmarshalRecord. resolveReferences(AbstractSession session, IDResolver idResolver)voidDOMRecord. setSession(AbstractSession session)voidXMLRecord. setSession(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database with parameters of type AbstractSession Modifier and Type Method Description StringDB2ZPlatform. buildProcedureCallString(StoredProcedureCall call, AbstractSession session, AbstractRecord row)INTERNAL: Used for sp calls.StringMySQLPlatform. buildProcedureCallString(StoredProcedureCall call, AbstractSession session, AbstractRecord row)Return the stored procedure syntax for this platform.StringPostgreSQLPlatform. buildProcedureCallString(StoredProcedureCall call, AbstractSession session, AbstractRecord row)INTERNAL: Used for sp calls.ConnectionOracle8Platform. getConnection(AbstractSession session, Connection connection)INTERNAL: This method is used to unwrap the oracle connection wrapped by the application server.VectorDB2Platform. getNativeTableInfo(String table, String creator, AbstractSession session)INTERNAL: Return the catalog information through using the native SQL catalog selects.VectorDerbyPlatform. getNativeTableInfo(String table, String creator, AbstractSession session)INTERNAL: Not currently used.VectorOraclePlatform. getNativeTableInfo(String table, String creator, AbstractSession session)Return the catalog information through using the native SQL catalog selects.VectorSQLServerPlatform. getNativeTableInfo(String table, String creator, AbstractSession session)Return the catalog information through using the native SQL catalog selects.VectorSybasePlatform. getNativeTableInfo(String table, String creator, AbstractSession session)Return the catalog information through using the native SQL catalog selects.ObjectInformix11Platform. getObjectFromResultSet(ResultSet resultSet, int columnNumber, int jdbcType, AbstractSession session)OverridesDatabasePlatform.getObjectFromResultSet(ResultSet, int, int, AbstractSession)so that if the suppliedjdbcTypeis equal toTypes.LONGVARCHAR, then theResultSet.getString(int)method (instead of theResultSet.getObject(int)method) is used to fetch the "raw" value of the column indicated by the suppliedcolumnNumberfrom the suppliedResultSet.ObjectOraclePlatform. getObjectFromResultSet(ResultSet resultSet, int columnNumber, int type, AbstractSession session)INTERNAL: Get a timestamp value from a result set.ObjectSQLServerPlatform. getObjectFromResultSet(ResultSet resultSet, int columnNumber, int type, AbstractSession session)ObjectDB2ZPlatform. getParameterValueFromDatabaseCall(CallableStatement statement, String name, AbstractSession session)StringDB2Platform. getProcedureArgument(String name, Object parameter, DatasourceCall.ParameterType parameterType, StoredProcedureCall call, AbstractSession session)Obtain the platform specific argument stringStringDB2ZPlatform. getProcedureArgument(String name, Object parameter, DatasourceCall.ParameterType parameterType, StoredProcedureCall call, AbstractSession session)StringOraclePlatform. getProcedureArgument(String name, Object parameter, DatasourceCall.ParameterType parameterType, StoredProcedureCall call, AbstractSession session)TimestampAccessPlatform. getTimestampFromServer(AbstractSession session, String sessionName)Access do not support millisecond well, truncate the millisecond from the timestampStringOraclePlatform. getVPDCreationPolicyString(String tableName, AbstractSession session)INTERNAL: Return an Oracle defined VPD identifier policy.StringOraclePlatform. getVPDDeletionString(String tableName, AbstractSession session)INTERNAL: Return an Oracle defined VPD identifier policy deletion.voidDB2ZPlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)voidDBasePlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)INTERNAL: DBase does not support Time/Timestamp so we must map to strings.voidDBasePlatform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)INTERNAL: DBase does not support Time/Timestamp so we must map to strings.voidDerbyPlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)INTERNAL Set the parameter in the JDBC statement with the given name.voidDerbyPlatform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index.voidPostgreSQL10Platform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index.voidPostgreSQL10Platform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index.voidPostgreSQLPlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index in case it is a UUID value.voidPostgreSQLPlatform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)INTERNAL Set the parameter in the JDBC statement at the given index in case it is a UUID value.voidSQLServerPlatform. setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)voidSQLServerPlatform. setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session)booleanOraclePlatform. wasFailureCommunicationBased(SQLException exception, Connection connection, AbstractSession sessionForProfile)INTERNAL: A call to this method will perform a platform based check on the connection and exception error code to determine if the connection is still valid or if a communication error has occurred.booleanSymfowarePlatform. wasFailureCommunicationBased(SQLException exception, Connection connection, AbstractSession sessionForProfile)Fail-over is not implemented on platform.voidHANAPlatform. writeAddColumnClause(Writer writer, AbstractSession session, TableDefinition table, FieldDefinition field)voidOracle8Platform. writeLOB(DatabaseField field, Object value, ResultSet resultSet, AbstractSession session)INTERNAL: Write LOB value - only on Oracle8 and up -
Uses of AbstractSession in org.eclipse.persistence.platform.database.events
Methods in org.eclipse.persistence.platform.database.events with parameters of type AbstractSession Modifier and Type Method Description voidDatabaseEventListener. initialize(ClassDescriptor descriptor, AbstractSession session)Initialize the descriptor to receive database change events. -
Uses of AbstractSession in org.eclipse.persistence.platform.database.oracle.plsql
Methods in org.eclipse.persistence.platform.database.oracle.plsql with parameters of type AbstractSession Modifier and Type Method Description AbstractRecordPLSQLStoredProcedureCall. buildOutputRow(CallableStatement statement, DatabaseAccessor accessor, AbstractSession session)Translate the SQL procedure output row, into the row expected by the PLSQL procedure.ObjectPLSQLStoredProcedureCall. getOutputParameterValue(CallableStatement statement, int index, AbstractSession session)voidPLSQLStoredFunctionCall. prepareInternal(AbstractSession session)INTERNAL:protected voidPLSQLStoredProcedureCall. prepareInternal(AbstractSession session)Generate the Anonymous PL/SQL blockStatementPLSQLStoredProcedureCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.voidPLSQLStoredProcedureCall. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)Translate the PLSQL procedure translation row, into the row expected by the SQL procedure. -
Uses of AbstractSession in org.eclipse.persistence.platform.server
Methods in org.eclipse.persistence.platform.server that return AbstractSession Modifier and Type Method Description protected AbstractSessionJMXServerPlatformBase. getAbstractSession()Return the AbstractSession required to log to the non-platform EclipseLink log.Methods in org.eclipse.persistence.platform.server with parameters of type AbstractSession Modifier and Type Method Description static StringServerPlatformUtils. detectServerPlatform(AbstractSession session)booleanServerPlatform. wasFailureCommunicationBased(SQLException exception, Accessor connection, AbstractSession sessionForProfile)INTERNAL: A call to this method will perform a platform based check on the connection and exception error code to determine if the connection is still valid or if a communication error has occurred.booleanServerPlatformBase. wasFailureCommunicationBased(SQLException exception, Accessor connection, AbstractSession sessionForProfile)INTERNAL: A call to this method will perform a platform based check on the connection and exception error code to determine if the connection is still valid or if a communication error has occurred. -
Uses of AbstractSession in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries declared as AbstractSession Modifier and Type Field Description protected AbstractSessionCursor. executionSessionThe root session that executed the call for the query.protected AbstractSessionDatabaseQuery. executionSessionOnly used after the query is cloned for execution to store the execution session under which the query was executed.protected AbstractSessionCursor. sessionThe session that executed the query for the stream.protected AbstractSessionDatabaseQuery. sessionOnly used after the query is cloned for execution to store the session under which the query was executed.Methods in org.eclipse.persistence.queries that return AbstractSession Modifier and Type Method Description AbstractSessionCursor. getExecutionSession()INTERNAL: Returns the session the underlying call was executed on.AbstractSessionDatabaseQuery. getExecutionSession()INTERNAL: Return the execution session.AbstractSessionCursor. getSession()INTERNAL: Return the handle to the sessionAbstractSessionDatabaseQuery. getSession()INTERNAL: Return the current session.Methods in org.eclipse.persistence.queries with parameters of type AbstractSession Modifier and Type Method Description DatabaseQueryJPAQueryBuilder. buildQuery(CharSequence jpqlQuery, AbstractSession session)Creates a fully initializedDatabaseQueryby parsing the given JPQL query.protected voidDatabaseQuery. buildSelectionCriteria(AbstractSession session)INTERNAL: In the case of EJBQL, an expression needs to be generated.ExpressionJPAQueryBuilder. buildSelectionCriteria(String entityName, String selectionCriteria, AbstractSession session)Creates a newExpressionthat represents the given selection criteria.voidObjectLevelReadQuery. changeDescriptor(AbstractSession theSession)INTERNAL: The reference class has been changed, need to reset the descriptor.protected abstract BooleanObjectLevelReadQuery. checkCustomQueryFlag(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check and return custom query flag.protected BooleanReadAllQuery. checkCustomQueryFlag(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check and return custom query flag.protected BooleanReadObjectQuery. checkCustomQueryFlag(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check and return custom query flag.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.ObjectDatabaseQuery. checkEarlyReturn(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if this query already knows the return value without performing any further work.ObjectDoesExistQuery. checkEarlyReturn(Object object, Object primaryKey, AbstractSession session, AbstractRecord translationRow)INTERNAL: Check if existence can be determined without going to the database.ObjectDoesExistQuery. checkEarlyReturn(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check if existence can be determined without going to the database.ObjectObjectLevelReadQuery. checkEarlyReturn(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if this query already knows the return value without performing any further work.protected abstract ObjectObjectLevelReadQuery. checkEarlyReturnLocal(AbstractSession session, AbstractRecord translationRow)INTERNAL: Contains the body of the check early return call, implemented by subclasses.protected ObjectReadAllQuery. checkEarlyReturnLocal(AbstractSession session, AbstractRecord translationRow)INTERNAL: The cache check is done before the prepare as a hit will not require the work to be done.protected ObjectReadObjectQuery. checkEarlyReturnLocal(AbstractSession session, AbstractRecord translationRow)INTERNAL: The cache check is done before the prepare as a hit will not require the work to be done.protected ObjectReportQuery. checkEarlyReturnLocal(AbstractSession session, AbstractRecord translationRow)INTERNAL: The cache check is done before the prepare as a hit will not require the work to be done.protected DatabaseQueryDatabaseQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryDeleteObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryInsertObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryObjectLevelReadQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryReportQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.protected DatabaseQueryUpdateObjectQuery. checkForCustomQuery(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if a custom query should be used for this query.voidDatabaseQuery. checkPrepare(AbstractSession session, AbstractRecord translationRow)INTERNAL: Check to see if this query needs to be prepare and prepare it.voidDatabaseQuery. checkPrepare(AbstractSession session, AbstractRecord translationRow, boolean force)INTERNAL: Check to see if this query needs to be prepare and prepare it.voidObjectLevelReadQuery. checkPrepare(AbstractSession session, AbstractRecord translationRow, boolean force)INTERNAL: Check to see if this query needs to be prepare and prepare it.voidObjectLevelReadQuery. checkPrePrepare(AbstractSession session)INTERNAL: ObjectLevelReadQueries now have an explicit pre-prepare stage, which is for checking for pessimistic locking, and computing any joined attributes declared on the descriptor.voidReadQuery. clearQueryResults(AbstractSession session)PUBLIC: Clears the current cached results, the next execution with read from the database.protected voidDatabaseQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidModifyAllQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidObjectBuildingQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.protected voidReadQuery. clonedQueryExecutionComplete(DatabaseQuery query, AbstractSession session)INTERNAL Used to give the subclasses opportunity to copy aspects of the cloned query to the original query.ObjectDatabaseQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.ObjectDataReadQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.ObjectObjectLevelReadQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.ObjectReadAllQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.ObjectReadObjectQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.voidDeleteAllQuery. executeDeleteAll(AbstractSession session, AbstractRecord translationRow, Vector objects)INTERNAL: Delete all queries are executed specially to avoid cloning and ensure preparing.ObjectStoredProcedureCall. getOutputParameterValue(CallableStatement statement, int index, AbstractSession session)protected ObjectReadQuery. getQueryResults(AbstractSession session)INTERNAL: To any user of this object with some knowledge of what the query's results may contain.protected ObjectReadQuery. getQueryResults(AbstractSession session, boolean checkExpiry)INTERNAL: To any user of this object with some knowledge of what the query's results may contain.protected ObjectReadQuery. getQueryResults(AbstractSession session, AbstractRecord row, boolean checkExpiry)INTERNAL: To any user of this object with some knowledge of what the query's results may contain.voidJPAQueryBuilder. populateQuery(CharSequence jpqlQuery, DatabaseQuery query, AbstractSession session)Populates the givenDatabaseQueryby parsing the given JPQL query.voidJPQLCall. populateQuery(AbstractSession session)Populate the query using the information retrieved from parsing the EJBQL.voidCursoredStreamPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.voidCursorPolicy. prepare(DatabaseQuery query, AbstractSession session)INTERNAL: Prepare and validate.voidDatabaseQuery. prepareInternal(AbstractSession session)INTERNAL: Call the prepare on the query.protected voidSQLCall. prepareInternal(AbstractSession session)INTERNAL: Called by prepare method only.voidStoredFunctionCall. prepareInternal(AbstractSession session)INTERNAL:protected voidStoredProcedureCall. prepareInternal(AbstractSession session)INTERNAL: Called by prepare method only.DatabaseQueryObjectLevelReadQuery. prepareOutsideUnitOfWork(AbstractSession session)INTERNAL: There is a very special case where a query may be a bean-level pessimistic locking query.PreparedStatementJPQLCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.StatementStoredProcedureCall. prepareStatement(DatabaseAccessor accessor, AbstractRecord translationRow, AbstractSession session)INTERNAL: Prepare the JDBC statement, this may be parameterize or a call statement.voidReportQuery. prepareSubSelect(AbstractSession session, AbstractRecord translationRow, Map clonedExpressions)INTERNAL: Prepare the receiver for being printed inside a subselect.ObjectDatabaseQuery. redirectQuery(QueryRedirector redirector, DatabaseQuery queryToRedirect, AbstractSession session, AbstractRecord translationRow)INTERNAL: Use a EclipseLink redirector to redirect this query to a method.ObjectDatabaseQuery. remoteExecute(AbstractSession session)INTERNAL:ObjectReadQuery. remoteExecute(AbstractSession session)INTERNAL: Return if this is a read query.AbstractRecordDatabaseQuery. rowFromArguments(List argumentValues, AbstractSession session)INTERNAL: Translate argumentValues into a database row.protected voidCursor. setExecutionSession(AbstractSession executionSession)INTERNAL: Sets the session the underlying call was executed on.protected voidDatabaseQuery. setExecutionSession(AbstractSession executionSession)INTERNAL: Set the execution session.booleanObjectLevelReadQuery. setLockModeType(String lockModeType, AbstractSession session)INTERNAL: Sets a jakarta.persistence.LockModeType to used with this queries execution.booleanReportQuery. setLockModeType(String lockModeType, AbstractSession session)INTERNAL: Sets a jakarta.persistence.LockModeType to used with this queries execution.protected voidReadQuery. setQueryResults(Object resultFromQuery, AbstractRecord row, AbstractSession session)INTERNAL: Set the cached results of the query.voidCursor. setSession(AbstractSession databaseSession)INTERNAL: Set the session handlevoidDatabaseQuery. setSession(AbstractSession session)INTERNAL: Set the session for the querybooleanDatabaseQuery. shouldPrepare(AbstractRecord translationRow, AbstractSession session)INTERNAL: Check if the query should be prepared, or dynamic, depending on the arguments.voidJPQLCall. translate(AbstractRecord translationRow, AbstractRecord modifyRow, AbstractSession session)INTERNAL: translate method comment. -
Uses of AbstractSession in org.eclipse.persistence.sequencing
Methods in org.eclipse.persistence.sequencing with parameters of type AbstractSession Modifier and Type Method Description ObjectDefaultSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)INTERNAL: Return the newly-generated sequencing value.ObjectSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession)INTERNAL: Return the newly-generated sequencing value.abstract ObjectSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)INTERNAL: Return the newly-generated sequencing value.ObjectStandardSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)ObjectUUIDSequence. getGeneratedValue(Accessor accessor, AbstractSession writeSession, String seqName)Vector<?>DefaultSequence. getGeneratedVector(Accessor accessor, AbstractSession writeSession, String seqName, int size)INTERNAL: Return a Vector of newly-generated sequencing values.Vector<?>Sequence. getGeneratedVector(Accessor accessor, AbstractSession writeSession)INTERNAL: Return a Vector of newly-generated sequencing values.abstract Vector<?>Sequence. getGeneratedVector(Accessor accessor, AbstractSession writeSession, String seqName, int size)INTERNAL: Return a Vector of newly-generated sequencing values.Vector<?>StandardSequence. getGeneratedVector(Accessor accessor, AbstractSession writeSession, String seqName, int size)Vector<?>UUIDSequence. getGeneratedVector(Accessor accessor, AbstractSession writeSession, String seqName, int size)protected ObjectQuerySequence. select(Accessor accessor, AbstractSession writeSession, String seqName, Integer size)INTERNAL:protected voidQuerySequence. update(Accessor accessor, AbstractSession writeSession, String seqName, Number sizeOrNewValue)INTERNAL:protected NumberQuerySequence. updateAndSelectSequence(Accessor accessor, AbstractSession writeSession, String seqName, int size)INTERNAL:protected abstract NumberStandardSequence. updateAndSelectSequence(Accessor accessor, AbstractSession writeSession, String seqName, int size) -
Uses of AbstractSession in org.eclipse.persistence.services
Methods in org.eclipse.persistence.services that return AbstractSession Modifier and Type Method Description protected AbstractSessionDevelopmentServices. getSession()INTERNAL:protected AbstractSessionRuntimeServices. getSession()INTERNAL:Methods in org.eclipse.persistence.services with parameters of type AbstractSession Modifier and Type Method Description protected voidRuntimeServices. setSession(AbstractSession newSession)INTERNAL: Define the session that this instance is providing runtime services for -
Uses of AbstractSession in org.eclipse.persistence.services.glassfish
Constructors in org.eclipse.persistence.services.glassfish with parameters of type AbstractSession Constructor Description GlassfishRuntimeServices(AbstractSession session)PUBLIC: Create an instance of GlassfishRuntimeServices to be associated with the provided session -
Uses of AbstractSession in org.eclipse.persistence.services.jboss
Constructors in org.eclipse.persistence.services.jboss with parameters of type AbstractSession Constructor Description JBossRuntimeServices(AbstractSession session)PUBLIC: Create an instance of JBossRuntimeServices to be associated with the provided session -
Uses of AbstractSession in org.eclipse.persistence.services.weblogic
Constructors in org.eclipse.persistence.services.weblogic with parameters of type AbstractSession Constructor Description WebLogicRuntimeServices(AbstractSession session)PUBLIC: Create an instance of WebLogicRuntimeServices to be associated with the provided session -
Uses of AbstractSession in org.eclipse.persistence.services.websphere
Constructors in org.eclipse.persistence.services.websphere with parameters of type AbstractSession Constructor Description WebSphereRuntimeServices(AbstractSession session)PUBLIC: Create an instance of WebSphereRuntimeServices to be associated with the provided session -
Uses of AbstractSession in org.eclipse.persistence.sessions
Fields in org.eclipse.persistence.sessions declared as AbstractSession Modifier and Type Field Description protected AbstractSessionCopyGroup. sessionMethods in org.eclipse.persistence.sessions that return AbstractSession Modifier and Type Method Description AbstractSessionUnitOfWork. getParent()PUBLIC: Return the parent.AbstractSessionCopyGroup. getSession()INTERNAL: Return the session.AbstractSessionExternalTransactionController. getSession()INTERNAL: Return the manager's session.Methods in org.eclipse.persistence.sessions with parameters of type AbstractSession Modifier and Type Method Description voidExternalTransactionController. beginTransaction(AbstractSession session)INTERNAL: Begin a transaction externally.voidExternalTransactionController. commitTransaction(AbstractSession session)INTERNAL: Commit a transaction externally.booleanProject. hasVPDIdentifier(AbstractSession session)PUBLIC: Return true if there is a VPD identifier for this project.voidSessionProfiler. occurred(String operationName, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)voidSessionProfiler. occurred(String operationName, DatabaseQuery query, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)voidSessionProfilerAdapter. occurred(String operationName, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)voidSessionProfilerAdapter. occurred(String operationName, DatabaseQuery query, AbstractSession session)INTERNAL: Increase DMS Event sensor occurrence.(DMS)ObjectSessionProfiler. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling.ObjectSessionProfilerAdapter. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling.voidExternalTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Register a listener on the unit of work.voidExternalTransactionController. rollbackTransaction(AbstractSession session)INTERNAL: Rollback a transaction externally.voidCopyGroup. setSession(AbstractSession newSession)INTERNAL: Set the session.voidExternalTransactionController. setSession(AbstractSession session)INTERNAL: Set the manager's session. -
Uses of AbstractSession in org.eclipse.persistence.sessions.broker
Subclasses of AbstractSession in org.eclipse.persistence.sessions.broker Modifier and Type Class Description classSessionBrokerPurpose: Provide a single view to a TopLink session that transparently accesses multple databases.Fields in org.eclipse.persistence.sessions.broker with type parameters of type AbstractSession Modifier and Type Field Description protected Map<String,AbstractSession>SessionBroker. sessionsByNameMethods in org.eclipse.persistence.sessions.broker that return AbstractSession Modifier and Type Method Description AbstractSessionSessionBroker. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionSessionBroker. getSessionForClass(Class<?> domainClass)INTERNAL: Return the session to be used for the class.AbstractSessionSessionBroker. getSessionForName(String name)INTERNAL: Return the session by name.protected AbstractSessionSessionBroker. getSessionForQuery(DatabaseQuery query)INTERNAL: Answers the session to be used for the given query.Methods in org.eclipse.persistence.sessions.broker that return types with arguments of type AbstractSession Modifier and Type Method Description Map<String,AbstractSession>SessionBroker. getSessionsByName()INTERNAL: Return sessions indexed by name.Methods in org.eclipse.persistence.sessions.broker with parameters of type AbstractSession Modifier and Type Method Description voidSessionBroker. registerSession(String name, AbstractSession session)PUBLIC: Register the session under its name.ObjectSessionBroker. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query. -
Uses of AbstractSession in org.eclipse.persistence.sessions.coordination
Methods in org.eclipse.persistence.sessions.coordination with parameters of type AbstractSession Modifier and Type Method Description abstract voidCommand. executeWithSession(AbstractSession session)INTERNAL: If the CommandProcessor is a EclipseLink session then this method will get executed.voidMergeChangeSetCommand. executeWithSession(AbstractSession session)INTERNAL: This method will be invoked by the RCM only when the CommandProcessor is a TopLink session.UnitOfWorkChangeSetMergeChangeSetCommand. getChangeSet(AbstractSession session)INTERNAL: Return the changes to be applied -
Uses of AbstractSession in org.eclipse.persistence.sessions.coordination.jms
Methods in org.eclipse.persistence.sessions.coordination.jms with parameters of type AbstractSession Modifier and Type Method Description static voidJMSPublishingHelper. processJMSMessage(jakarta.jms.Message message, AbstractSession session)PUBLIC: Processes the received RCM messaged from a JMS provider for cache coordination. -
Uses of AbstractSession in org.eclipse.persistence.sessions.factories
Fields in org.eclipse.persistence.sessions.factories declared as AbstractSession Modifier and Type Field Description protected AbstractSessionSessionManager. defaultSessionMethods in org.eclipse.persistence.sessions.factories that return AbstractSession Modifier and Type Method Description AbstractSessionSessionManager. getSession(String sessionName)PUBLIC: Return the session by name.AbstractSessionSessionManager. getSession(String sessionName, boolean shouldLoginSession)PUBLIC: Return the session by name.AbstractSessionSessionManager. getSession(String sessionName, boolean shouldLoginSession, boolean shouldRefreshSession)PUBLIC: Return the session by name.AbstractSessionSessionManager. getSession(String sessionName, ClassLoader objectClassLoader)PUBLIC: Return the session by name.AbstractSessionSessionManager. getSession(String sessionName, Object objectBean)PUBLIC: Return the session by name, using the classloader of the Object specified.AbstractSessionSessionManager. getSession(String sessionName, String filename)PUBLIC: Return the session by name, in the file specified.AbstractSessionSessionManager. getSession(String sessionName, String filename, ClassLoader classLoader)PUBLIC: Return the session by name, in the file specified, using the class loader to find the resource.AbstractSessionSessionManager. getSession(XMLSessionConfigLoader loader)PUBLIC: Return the session by name, loading the configuration from the file specified in the loader, using the loading options provided on the loader.AbstractSessionSessionManager. getSession(XMLSessionConfigLoader loader, String sessionName, ClassLoader objectClassLoader)PUBLIC: Return the session by name, loading the configuration from the file specified in the XMLSessionConfigLoader.AbstractSessionSessionManager. getSession(XMLSessionConfigLoader loader, String sessionName, ClassLoader objectClassLoader, boolean shouldLoginSession, boolean shouldRefreshSession)PUBLIC: Return the session by name, loading the configuration from the file specified in the loader.AbstractSessionSessionManager. getSession(XMLSessionConfigLoader loader, String sessionName, ClassLoader objectClassLoader, boolean shouldLoginSession, boolean shouldRefreshSession, boolean shouldCheckClassLoader)PUBLIC: Return the session by name, loading the configuration from the file specified in the loader. -
Uses of AbstractSession in org.eclipse.persistence.sessions.interceptors
Fields in org.eclipse.persistence.sessions.interceptors declared as AbstractSession Modifier and Type Field Description protected AbstractSessionCacheInterceptor. interceptedSessionMethods in org.eclipse.persistence.sessions.interceptors with parameters of type AbstractSession Modifier and Type Method Description abstract Map<Object,CacheKey>CacheInterceptor. getAllCacheKeysFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.abstract Map<Object,Object>CacheInterceptor. getAllFromIdentityMapWithEntityPK(Object[] pkList, ClassDescriptor descriptor, AbstractSession session)ADVANCED: Using a list of Entity PK this method will attempt to bulk load the entire list from the cache.Constructors in org.eclipse.persistence.sessions.interceptors with parameters of type AbstractSession Constructor Description CacheInterceptor(IdentityMap targetIdentityMap, AbstractSession interceptedSession) -
Uses of AbstractSession in org.eclipse.persistence.sessions.remote
Subclasses of AbstractSession in org.eclipse.persistence.sessions.remote Modifier and Type Class Description classDistributedSessionPurpose: Super class to all remote client session's.classRemoteSessionPurpose: Provide transparent remote three-tiered replacation support. -
Uses of AbstractSession in org.eclipse.persistence.sessions.remote.rmi
Constructors in org.eclipse.persistence.sessions.remote.rmi with parameters of type AbstractSession Constructor Description RMIRemoteSessionControllerDispatcher(AbstractSession session) -
Uses of AbstractSession in org.eclipse.persistence.sessions.server
Subclasses of AbstractSession in org.eclipse.persistence.sessions.server Modifier and Type Class Description classClientSessionPurpose: Acts as a client to the server session.classServerSessionImplementation of Server INTERNAL: The public interface should be used.Methods in org.eclipse.persistence.sessions.server that return AbstractSession Modifier and Type Method Description AbstractSessionClientSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionServerSession. getExecutionSession(DatabaseQuery query)INTERNAL: Gets the session which this query will be executed on.AbstractSessionClientSession. getParentIdentityMapSession(ClassDescriptor descriptor, boolean canReturnSelf, boolean terminalOnly)INTERNAL: Returns the appropriate IdentityMap session for this descriptor.Methods in org.eclipse.persistence.sessions.server with parameters of type AbstractSession Modifier and Type Method Description ObjectClientSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.DatabaseExceptionClientSession. retryTransaction(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed. -
Uses of AbstractSession in org.eclipse.persistence.tools.profiler
Fields in org.eclipse.persistence.tools.profiler declared as AbstractSession Modifier and Type Field Description protected AbstractSessionPerformanceMonitor. sessionprotected AbstractSessionPerformanceProfiler. sessionMethods in org.eclipse.persistence.tools.profiler that return AbstractSession Modifier and Type Method Description AbstractSessionPerformanceMonitor. getSession()AbstractSessionPerformanceProfiler. getSession()Methods in org.eclipse.persistence.tools.profiler with parameters of type AbstractSession Modifier and Type Method Description voidPerformanceMonitor. occurred(String operationName, AbstractSession session)voidPerformanceMonitor. occurred(String operationName, DatabaseQuery query, AbstractSession session)ObjectPerformanceMonitor. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Monitoring is done on the endOperation only.ObjectPerformanceProfiler. profileExecutionOfQuery(DatabaseQuery query, DataRecord row, AbstractSession session)INTERNAL: Finish a profile operation if profiling. -
Uses of AbstractSession in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework that return AbstractSession Modifier and Type Method Description AbstractSessionSchemaManager. getSession()AbstractSessionStoredProcedureGenerator. getSession()Methods in org.eclipse.persistence.tools.schemaframework with parameters of type AbstractSession Modifier and Type Method Description voidPopulationManager. addAllObjectsForAbstractClass(Class<?> objectsClass, AbstractSession session, Vector<Object> allObjects)Add all of the objects of the class and all of its subclasses.voidTableDefinition. addFieldOnDatabase(AbstractSession session, FieldDefinition field)INTERNAL: Execute the SQL alter table to add the field to the table.voidSequenceDefinition. alter(AbstractSession session, Writer writer)INTERNAL: Execute the SQL required to alter sequence.voidSequenceObjectDefinition. alterIncrement(AbstractSession session, Writer schemaWriter)INTERNAL: Execute the SQL required to alter sequence increment.voidSequenceDefinition. alterOnDatabase(AbstractSession session)INTERNAL: By default does nothing.voidSequenceObjectDefinition. alterOnDatabase(AbstractSession session)INTERNAL: Execute the SQL required to alter sequence increment.voidFieldDefinition. appendDBString(Writer writer, AbstractSession session, TableDefinition table)INTERNAL: Append the database field definition string to the table creation statement.voidForeignKeyConstraint. appendDBString(Writer writer, AbstractSession session)INTERNAL: Append the database field definition string to the table creation statement.voidUniqueKeyConstraint. appendDBString(Writer writer, AbstractSession session)INTERNAL: Append the database field definition string to the table creation statement.voidFieldDefinition. appendTypeString(Writer writer, AbstractSession session)INTERNAL: Append the database field definition string to the type creation statement.voidNestedTableDefinition. appendTypeString(Writer writer, AbstractSession session)INTERNAL: Append the type to the statementvoidObjectVarrayDefinition. appendTypeString(Writer writer, AbstractSession session)INTERNAL: Append the type.voidVarrayDefinition. appendTypeString(Writer writer, AbstractSession session)INTERNAL: Append the type.WriterTableDefinition. buildAddFieldWriter(AbstractSession session, FieldDefinition field, Writer writer)INTERNAL: Return the alter table statement to add a field to the table.WriterSequenceObjectDefinition. buildAlterIncrementWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL required to alter INCREMENT BYWriterTableDefinition. buildConstraintCreationWriter(AbstractSession session, ForeignKeyConstraint foreignKey, Writer writer)INTERNAL: Return the alter table statement to add the constraints.WriterTableDefinition. buildConstraintDeletionWriter(AbstractSession session, ForeignKeyConstraint foreignKey, Writer writer)INTERNAL: Return the alter table statement to drop the constraints.abstract WriterDatabaseObjectDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Returns the writer used for creation of this object.WriterIndexDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create type statement.WriterNestedTableDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to create the varray.WriterPackageDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create table statement.WriterSequenceObjectDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL required to create the Oracle sequence object.WriterStoredFunctionDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create statement.WriterStoredProcedureDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create table statement.WriterTableDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create table statement.WriterTableSequenceDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL required to insert the sequence row into the sequence table.WriterTypeDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create type statement.WriterTypeTableDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the create table statement.WriterUnaryTableSequenceDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL required to create the unary sequence table.WriterVarrayDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to create theVARRAY.WriterViewDefinition. buildCreationWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to create the view.protected WriterTableDefinition. buildDatabaseSchemaCreationWriter(AbstractSession session, Writer writer, Set<String> createdDatabaseSchemas)INTERNAL: Build the create schema DDL.protected WriterTableDefinition. buildDatabaseSchemaDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Build the drop schema DDL.abstract WriterDatabaseObjectDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Returns the writer used for deletion of this object.WriterIndexDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop type statement.WriterNestedTableDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to drop the varray.WriterPackageDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop table statement.WriterSequenceObjectDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL required to drop the Oracle sequence object.WriterStoredFunctionDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop statement.WriterStoredProcedureDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop table statement.WriterTableDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop table statement.WriterTableSequenceDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL to delete the row from the sequence table.WriterTypeDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the drop type statement.WriterUnaryTableSequenceDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the SQL to delete the unary sequence table.WriterVarrayDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to drop the varray.WriterViewDefinition. buildDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Return the DDL to drop the view.protected voidTableDefinition. buildFieldTypes(AbstractSession session)INTERNAL: Build the foreign key constraints.IndexDefinitionTableDefinition. buildIndex(AbstractSession session, String key, List<String> columnNames, boolean isUniqueSetOnField)INTERNAL: Return the index creation statement.WriterTableDefinition. buildIndexDeletionWriter(AbstractSession session, String key, Writer writer, boolean isUniqueSetOnField)INTERNAL: Return the index drop statement.WriterTableDefinition. buildUniqueConstraintCreationWriter(AbstractSession session, UniqueKeyConstraint uniqueKey, Writer writer)INTERNAL: Return the alter table statement to add the constraints.WriterTableDefinition. buildUniqueConstraintDeletionWriter(AbstractSession session, UniqueKeyConstraint uniqueKey, Writer writer)INTERNAL: Return the alter table statement to drop the constraints.WriterDatabaseObjectDefinition. buildVPDCreationFunctionWriter(AbstractSession session, Writer writer)INTERNAL: Sub classes should override.WriterTableDefinition. buildVPDCreationFunctionWriter(AbstractSession session, Writer writer)INTERNAL:WriterDatabaseObjectDefinition. buildVPDCreationPolicyWriter(AbstractSession session, Writer writer)INTERNAL: Sub classes should override.WriterTableDefinition. buildVPDCreationPolicyWriter(AbstractSession session, Writer writer)INTERNAL:WriterDatabaseObjectDefinition. buildVPDDeletionWriter(AbstractSession session, Writer writer)INTERNAL: Sub classes should override.WriterTableDefinition. buildVPDDeletionWriter(AbstractSession session, Writer writer)INTERNAL:abstract booleanSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Verify whether the sequence exists.booleanSequenceObjectDefinition. checkIfExist(AbstractSession session)INTERNAL: Check if the sequence object already exists, in which case dont create it.booleanTableSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Execute the SQL required to insert the sequence row into the sequence table.booleanUnaryTableSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Verify whether the sequence exists.voidTableDefinition. createConstraints(AbstractSession session, Writer schemaWriter)INTERNAL: Execute the SQL alter table constraint creation string.voidTableDefinition. createConstraintsOnDatabase(AbstractSession session)INTERNAL: Execute the SQL alter table constraint creation string.voidDatabaseObjectDefinition. createDatabaseSchema(AbstractSession session, Writer writer, Set<String> createdDatabaseSchemas)INTERNAL: Execute the DDL to create the database schema for this object.voidTableDefinition. createDatabaseSchema(AbstractSession session, Writer writer, Set<String> createdDatabaseSchemas)INTERNAL: Execute the DDL to create the database schema for this object.voidDatabaseObjectDefinition. createDatabaseSchemaOnDatabase(AbstractSession session, Set<String> createdDatabaseSchemas)INTERNAL: Execute the DDL to create the database schema for this object.voidTableDefinition. createDatabaseSchemaOnDatabase(AbstractSession session, Set<String> createdDatabaseSchemas)INTERNAL: Execute the DDL to create the database schema for this object.voidTableDefinition. createIndexes(AbstractSession session, Writer writer)INTERNAL:
Write the SQL create index string to create index if passed a writer, else delegate to a method that executes the string on the database.voidDatabaseObjectDefinition. createObject(AbstractSession session, Writer schemaWriter)INTERNAL: Either drop from the database directly or write the statement to a file.voidDatabaseObjectDefinition. createOnDatabase(AbstractSession session)INTERNAL: Execute the DDL to create this object.voidSequenceDefinition. createOnDatabase(AbstractSession session)INTERNAL: Creates this sequence definition on the database.voidTableDefinition. dropConstraints(AbstractSession session, Writer schemaWriter)INTERNAL: Execute the SQL alter table constraint creation string.voidTableDefinition. dropConstraintsOnDatabase(AbstractSession session)INTERNAL: Execute the SQL alter table constraint creation string.voidDatabaseObjectDefinition. dropDatabaseSchema(AbstractSession session, Writer writer)INTERNAL: Execute the DDL to drop the database schema for this object.voidTableDefinition. dropDatabaseSchema(AbstractSession session, Writer writer)INTERNAL: Execute the DDL to drop the database schema for this object.voidTableSequenceDefinition. dropDatabaseSchema(AbstractSession session, Writer writer)INTERNAL: Execute the DDL to drop the database schema for this object.voidDatabaseObjectDefinition. dropDatabaseSchemaOnDatabase(AbstractSession session)INTERNAL: Execute the DDL to drop the database schema for this object.voidTableDefinition. dropDatabaseSchemaOnDatabase(AbstractSession session)INTERNAL: Execute the DDL to drop the database schema for this object.voidTableSequenceDefinition. dropDatabaseSchemaOnDatabase(AbstractSession session)INTERNAL: Execute the DDL to drop the database schema for this object.voidDatabaseObjectDefinition. dropFromDatabase(AbstractSession session)INTERNAL: Execute the DDL to drop the object.voidTableDefinition. dropIndexes(AbstractSession session, Writer writer)INTERNAL:
Write the SQL drop index string to drop indexes if passed a writer, else delegate to a method that executes the string on the database.voidDatabaseObjectDefinition. dropObject(AbstractSession session, Writer schemaWriter, boolean createSQLFiles)INTERNAL: Execute the DDL to drop the object.TableCreatorDefaultTableGenerator. generateFilteredDefaultTableCreator(AbstractSession session)Generate a default TableCreator object from the EclipseLink project object, and perform the table existence check through jdbc table metadata, and filter out tables which are already in the database.List<Object>PopulationManager. getAllObjectsForAbstractClass(Class<?> objectsClass, AbstractSession session)Return all of the objects of the class and all of its subclasses.protected static FieldTypeDefinitionDatabaseObjectDefinition. getFieldTypeDefinition(AbstractSession session, Class<?> type, String name)INTERNAL: Retrieve a database platform specific definition from session for existing type instance or build a new one when type isnull.booleanSequenceDefinition. isAlterSupported(AbstractSession session)INTERNAL: Indicates whether alter is supportedbooleanSequenceObjectDefinition. isAlterSupported(AbstractSession session)INTERNAL: Indicates whether alterIncrement is supportedvoidDatabaseObjectDefinition. postCreateObject(AbstractSession session, Writer createSchemaWriter, boolean createSQLFiles)Execute any statements required after the creation of the objectvoidTableDefinition. postCreateObject(AbstractSession session, Writer createSchemaWriter, boolean createSQLFiles)Execute any statements required after the creation of the objectvoidDatabaseObjectDefinition. preDropObject(AbstractSession session, Writer dropSchemaWriter, boolean createSQLFiles)Execute any statements required before the deletion of the objectvoidTableDefinition. preDropObject(AbstractSession session, Writer dropSchemaWriter, boolean createSQLFiles)Execute any statements required before the deletion of the objectvoidTableSequenceDefinition. preDropObject(AbstractSession session, Writer dropSchemaWriter, boolean createSQLFiles)Execute any statements required before the deletion of the objectprotected voidStoredProcedureDefinition. printArgument(FieldDefinition argument, Writer writer, AbstractSession session)Print the argument and its type.protected voidStoredProcedureDefinition. printInOutputArgument(FieldDefinition argument, Writer writer, AbstractSession session)Print the argument and its type.protected voidStoredProcedureDefinition. printOutputArgument(FieldDefinition argument, Writer writer, AbstractSession session)Print the argument and its type.protected voidStoredFunctionDefinition. printReturn(Writer writer, AbstractSession session)Prints return for stored functionprotected voidStoredProcedureDefinition. printReturn(Writer writer, AbstractSession session)Prints return for stored function, nothing to do for stored procedurebooleanDatabaseObjectDefinition. shouldCreateVPDCalls(AbstractSession session)INTERNAL: Subclasses who care should override this method.booleanTableDefinition. shouldCreateVPDCalls(AbstractSession session)INTERNAL: Subclasses who care should override this method.voidTableDefinition. writeLineSeperator(AbstractSession session, Writer writer) -
Uses of AbstractSession in org.eclipse.persistence.transaction
Fields in org.eclipse.persistence.transaction declared as AbstractSession Modifier and Type Field Description protected AbstractSessionAbstractSynchronizationListener. sessionThe parent of the uow.protected AbstractSessionAbstractTransactionController. sessionThe session this controller is responsible for controllingMethods in org.eclipse.persistence.transaction that return AbstractSession Modifier and Type Method Description protected AbstractSessionAbstractSynchronizationListener. getSession()AbstractSessionAbstractTransactionController. getSession()INTERNAL: Return the manager's session.Methods in org.eclipse.persistence.transaction with parameters of type AbstractSession Modifier and Type Method Description voidAbstractTransactionController. beginTransaction(AbstractSession session)INTERNAL: Begin an external transaction.voidAbstractTransactionController. bindToCurrentTransaction(UnitOfWorkImpl unitOfWork, AbstractSession session)INTERNAL: Associate the given unit of work and EclipseLink session with the active external transaction.voidAbstractTransactionController. commitTransaction(AbstractSession session)INTERNAL: Commit the external transaction.voidAbstractTransactionController. logTxStateTrace(AbstractSession session, String msgInd, Object status)voidAbstractTransactionController. logTxTrace(AbstractSession session, String msgInd, Object[] args)AbstractSynchronizationListenerJTASynchronizationListener. newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Create and return the Synchronization listener object that can be registered to receive JTA transaction notification callbacks.AbstractSynchronizationListenerSynchronizationListenerFactory. newSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Create and return the synchronization listener object that can be registered to receive transaction notification callbacks.voidAbstractTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Associate the given unit of work and EclipseLink session with the current external transaction.voidAbstractTransactionController. rollbackTransaction(AbstractSession session)INTERNAL: Roll back the external transaction.protected voidAbstractSynchronizationListener. setSession(AbstractSession session)voidAbstractTransactionController. setSession(AbstractSession session)INTERNAL: Set the manager's session.Constructors in org.eclipse.persistence.transaction with parameters of type AbstractSession Constructor Description AbstractSynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL:JTASynchronizationListener(UnitOfWorkImpl unitOfWork, AbstractSession session, Object transaction, AbstractTransactionController controller)INTERNAL: Constructor for creating listener instances (expects all required state info)
-