Class EISOneToManyQueryBasedValueHolder
- java.lang.Object
-
- org.eclipse.persistence.internal.indirection.DatabaseValueHolder
-
- org.eclipse.persistence.internal.indirection.QueryBasedValueHolder
-
- org.eclipse.persistence.internal.indirection.EISOneToManyQueryBasedValueHolder
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ValueHolderInterface
,WeavedAttributeValueHolderInterface
public class EISOneToManyQueryBasedValueHolder extends QueryBasedValueHolder
Value holder used to defer an EIS 1-m mapping query. For composite source foreign keys EIS 1-m's a query must be performed for each primary key, so a different type of value holder is required.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.indirection.QueryBasedValueHolder
query, refreshCascade, sourceObject
-
Fields inherited from class org.eclipse.persistence.internal.indirection.DatabaseValueHolder
isCoordinatedWithProperty, isInstantiated, row, session, value
-
Fields inherited from interface org.eclipse.persistence.indirection.ValueHolderInterface
shouldToStringInstantiate
-
-
Constructor Summary
Constructors Constructor Description EISOneToManyQueryBasedValueHolder(EISOneToManyMapping mapping, ReadQuery query, AbstractRecord sourceRow, AbstractSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
instantiate(AbstractSession session)
Instantiate the object by executing the query on the session.-
Methods inherited from class org.eclipse.persistence.internal.indirection.QueryBasedValueHolder
getQuery, getRefreshCascadePolicy, getValue, instantiate, instantiateForUnitOfWorkValueHolder, isPessimisticLockingValueHolder, postInstantiate, releaseWrappedValueHolder, resetFields, setQuery, setRefreshCascadePolicy, setSourceObject
-
Methods inherited from class org.eclipse.persistence.internal.indirection.DatabaseValueHolder
clone, getRow, getSession, getValue, getWrappedValueHolder, isCoordinatedWithProperty, isEasilyInstantiated, isInstantiated, isNewlyWeavedValueHolder, isSerializedRemoteUnitOfWorkValueHolder, isTransactionalValueHolder, privilegedSetValue, setInstantiated, setIsCoordinatedWithProperty, setIsNewlyWeavedValueHolder, setRow, setSession, setUninstantiated, setValue, shouldAllowInstantiationDeferral, toString
-
-
-
-
Constructor Detail
-
EISOneToManyQueryBasedValueHolder
public EISOneToManyQueryBasedValueHolder(EISOneToManyMapping mapping, ReadQuery query, AbstractRecord sourceRow, AbstractSession session)
-
-
Method Detail
-
instantiate
protected Object instantiate(AbstractSession session) throws DatabaseException
Description copied from class:QueryBasedValueHolder
Instantiate the object by executing the query on the session.- Overrides:
instantiate
in classQueryBasedValueHolder
- Throws:
DatabaseException
-
-