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

public Class EISOneToManyQueryBasedValueHolder<T>

extends QueryBasedValueHolder<T>
Class Inheritance
Imports
java.util.Collection, .Iterator, .Vector, org.eclipse.persistence.eis.mappings.EISOneToManyMapping, org.eclipse.persistence.exceptions.DatabaseException, org.eclipse.persistence.internal.queries.ContainerPolicy, org.eclipse.persistence.internal.sessions.AbstractRecord, .AbstractSession, org.eclipse.persistence.queries.ReadAllQuery, .ReadQuery

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.

Field Summary

Modifier and TypeField and Description
private EISOneToManyMapping
Inherited from org.eclipse.persistence.internal.indirection.QueryBasedValueHolder:
queryrefreshCascadesourceObject

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected T
instantiate(AbstractSession session)

Overrides org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate.

Instantiate the object by executing the query on the session.
Inherited from org.eclipse.persistence.internal.indirection.QueryBasedValueHolder:
getQuerygetRefreshCascadePolicygetValueinstantiateinstantiateForUnitOfWorkValueHolderisPessimisticLockingValueHolderpostInstantiatereleaseWrappedValueHolderresetFieldssetQuerysetRefreshCascadePolicysetSourceObject

Field Detail

mappingback to summary
private EISOneToManyMapping mapping

Constructor Detail

EISOneToManyQueryBasedValueHolderback to summary
public EISOneToManyQueryBasedValueHolder(EISOneToManyMapping mapping, ReadQuery query, AbstractRecord sourceRow, AbstractSession session)

Method Detail

instantiateback to summary
protected T instantiate(AbstractSession session) throws DatabaseException

Overrides org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate.

Doc from org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate.

Instantiate the object by executing the query on the session.

Annotations
@Override