public class CompositeFetch extends AbstractSingularAttributeFetch
Fetch for a composite attribute as well as a
FetchOwner for any sub-attributes fetches.| Modifier and Type | Field and Description |
|---|---|
static FetchStrategy |
FETCH_PLAN |
NO_FETCHES| Constructor and Description |
|---|
CompositeFetch(CompositeFetch original,
CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
CompositeFetch(SessionFactoryImplementor sessionFactory,
FetchOwner owner,
String ownerProperty)
Constructs a
CompositeFetch object. |
| Modifier and Type | Method and Description |
|---|---|
protected FetchOwnerDelegate |
getFetchOwnerDelegate()
Abstract method returning the delegate for obtaining details about an owned fetch.
|
void |
hydrate(ResultSet resultSet,
ResultSetProcessingContext context) |
CompositeFetch |
makeCopy(CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
Object |
resolve(ResultSet resultSet,
ResultSetProcessingContext context) |
EntityPersister |
retrieveFetchSourcePersister()
Retrieve the EntityPersister that is the base for any property references in the fetches it owns.
|
getColumnNames, getFetchStrategy, getOwner, getOwnerPropertyName, getPropertyPath, isNullable, toString, validateFetchPlanaddFetch, buildCollectionFetch, buildCompositeFetch, buildEntityFetch, getColumnNames, getFetches, getType, isNullablesessionFactorypublic static final FetchStrategy FETCH_PLAN
public CompositeFetch(SessionFactoryImplementor sessionFactory, FetchOwner owner, String ownerProperty)
CompositeFetch object.sessionFactory - - the session factory.owner - - the fetch owner for this fetch.ownerProperty - - the owner's property referring to this fetch.public CompositeFetch(CompositeFetch original, CopyContext copyContext, FetchOwner fetchOwnerCopy)
protected FetchOwnerDelegate getFetchOwnerDelegate()
AbstractFetchOwnergetFetchOwnerDelegate in class AbstractFetchOwnerpublic EntityPersister retrieveFetchSourcePersister()
FetchOwnerpublic void hydrate(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
SQLExceptionpublic Object resolve(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException
SQLExceptionpublic CompositeFetch makeCopy(CopyContext copyContext, FetchOwner fetchOwnerCopy)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.