| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ToOneAttributeMapping | |
| private final FetchParent | |
| private final DomainResult | |
| private final LockMode | |
| private final NavigablePath | |
| private final NavigablePath | |
| private final FetchTiming |
| Access | Constructor and Description |
|---|---|
| public | CircularBiDirectionalFetchImpl(FetchTiming timing, NavigablePath navigablePath, FetchParent fetchParent, ToOneAttributeMapping fetchable, LockMode lockMode, NavigablePath referencedNavigablePath, DomainResult<?> keyDomainResult)
|
| fetchable | back to summary |
|---|---|
| private final ToOneAttributeMapping fetchable | |
| fetchParent | back to summary |
|---|---|
| private final FetchParent fetchParent | |
| keyDomainResult | back to summary |
|---|---|
| private final DomainResult<?> keyDomainResult | |
| lockMode | back to summary |
|---|---|
| private final LockMode lockMode | |
| navigablePath | back to summary |
|---|---|
| private final NavigablePath navigablePath | |
| referencedNavigablePath | back to summary |
|---|---|
| private final NavigablePath referencedNavigablePath | |
| timing | back to summary |
|---|---|
| private final FetchTiming timing | |
| CircularBiDirectionalFetchImpl | back to summary |
|---|---|
| public CircularBiDirectionalFetchImpl(FetchTiming timing, NavigablePath navigablePath, FetchParent fetchParent, ToOneAttributeMapping fetchable, LockMode lockMode, NavigablePath referencedNavigablePath, DomainResult<?> keyDomainResult) | |
| createAssembler | back to summary |
|---|---|
| public DomainResultAssembler Implements org. Doc from org. Create the assembler for this fetch
| |
| getFetchedMapping | back to summary |
|---|---|
| public Fetchable getFetchedMapping() Implements org. Doc from org. The value mapping being fetched
| |
| getFetchParent | back to summary |
|---|---|
| public FetchParent getFetchParent() Implements org. Doc from org. Obtain the owner of this fetch. Ultimately used to identify the thing that "owns" this fetched navigable for the purpose of:
* identifying the associated owner reference as we process the fetch
* inject the fetched instance into the parent and potentially inject
the parent reference into the fetched instance if it defines
such injection (e.g.
| |
| getNavigablePath | back to summary |
|---|---|
| public NavigablePath getNavigablePath() Implements org. Doc from org. Get the property path to this fetch
| |
| getReferencedPath | back to summary |
|---|---|
| public NavigablePath getReferencedPath() Implements org. Doc from org. The NavigablePath for the DomainResult or Fetch that this Fetch refers to.
For `o`, the referenced path is `p`. For `oa`, it's `p.address`
Different from
| |
| getResultJavaType | back to summary |
|---|---|
| public JavaType Implements org.
| |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org. Doc from org. immediate or delayed? todo (6.0) : should we also expose the fetch-style? Perhaps the fetch-options?
| |
| hasTableGroup | back to summary |
|---|---|
| public boolean hasTableGroup() Implements org. Doc from org. Is the TableGroup associated with this Fetch defined?
| |
| Modifier and Type | Field and Description |
|---|---|
| private final NavigablePath | |
| private final ToOneAttributeMapping | |
| private final JavaType | |
| private final DomainResultAssembler |
| Access | Constructor and Description |
|---|---|
| public | CircularFetchAssembler(ToOneAttributeMapping fetchable, NavigablePath circularPath, JavaType<?> javaType, DomainResultAssembler<?> keyDomainResultAssembler)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Implements org. |
| public JavaType | getAssembledJavaType()
Implements org. |
| private Object | loadByUniqueKey(EntityPersister entityPersister, Object key, SharedSessionContractImplementor session, PersistenceContext persistenceContext)
|
| private EntityInitializer |
| circularPath | back to summary |
|---|---|
| private final NavigablePath circularPath | |
| fetchable | back to summary |
|---|---|
| private final ToOneAttributeMapping fetchable | |
| javaType | back to summary |
|---|---|
| private final JavaType<?> javaType | |
| keyDomainResultAssembler | back to summary |
|---|---|
| private final DomainResultAssembler<?> keyDomainResultAssembler | |
| CircularFetchAssembler | back to summary |
|---|---|
| public CircularFetchAssembler(ToOneAttributeMapping fetchable, NavigablePath circularPath, JavaType<?> javaType, DomainResultAssembler<?> keyDomainResultAssembler) | |
| assemble | back to summary |
|---|---|
| public Object assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options) Implements org. Doc from org. The main "assembly" contract. Assemble the result and return it.
| |
| getAssembledJavaType | back to summary |
|---|---|
| public JavaType Implements org. Doc from org. The JavaType describing the Java type that this assembler assembles.
| |
| loadByUniqueKey | back to summary |
|---|---|
| private Object loadByUniqueKey(EntityPersister entityPersister, Object key, SharedSessionContractImplementor session, PersistenceContext persistenceContext) | |
| resolveCircularInitializer | back to summary |
|---|---|
| private EntityInitializer resolveCircularInitializer(RowProcessingState rowProcessingState) | |