| Modifier and Type | Field and Description |
|---|---|
| private final EntityMappingType | |
| private final NavigableRole | |
| protected final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | AbstractCompositeIdentifierMapping(EntityMappingType entityMapping, String tableExpression, MappingModelCreationProcess creationProcess)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | containsTableReference(String tableExpression)
Overrides default org. |
| public <T> DomainResult | createDomainResult(NavigablePath navigablePath, TableGroup tableGroup, String resultVariable, DomainResultCreationState creationState)
Implements org. |
| public TableGroup | createRootTableGroupJoin(NavigablePath
The NavigablePath to the join navigablePath, TableGroup The join's (L)eft-(H)and (S)ide lhs, String explicitSourceAlias, SqlAliasBase A specific SqlAliasBase to use. May be explicitSqlAliasBase, SqlAstJoinType null indicating one should be created using the SqlAliasBaseGenerator from creationStateAn explicit join-type. May be null to signal that the join is for an implicit path. sqlAstJoinType, boolean fetched, Consumer<Predicate> Consumer for additional predicates from the producer's mapping. predicateConsumer, SqlAstCreationState creationState)Implements org. |
| public TableGroupJoin | createTableGroupJoin(NavigablePath
The NavigablePath to the join navigablePath, TableGroup The join's (L)eft-(H)and (S)ide lhs, String explicitSourceAlias, SqlAliasBase A specific SqlAliasBase to use. May be explicitSqlAliasBase, SqlAstJoinType null indicating one should be created using the SqlAliasBaseGenerator from creationStateAn explicit join-type. May be null to signal that the join is for an implicit path. requestedJoinType, boolean fetched, boolean Indicates there are explicit, additional predicates (from an SQM tree ON/WITH clause) addsPredicate, SqlAstCreationState creationState)Implements org. |
| public EntityMappingType | |
| public ModelPart | findSubPart(String name, EntityMappingType treatTargetType)
Overrides default org. |
| public <X, Y> int | forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.
Overrides default org. |
| public Fetch | generateFetch(FetchParent
The parent of the Fetch we are generating fetchParent, NavigablePath The overall path within the graph fetchablePath, FetchTiming The requested fetch timing fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState)Implements org. |
| public String | getContainingTableExpression()
Implements org. |
| public EmbeddableMappingType | |
| protected EntityMappingType | |
| public FetchOptions | getMappedFetchOptions()
Implements org. |
| public EmbeddableMappingType | getMappedType()
Overrides default org. Implements org. |
| public NavigableRole | |
| public FetchStyle | |
| public FetchTiming | |
| public boolean | hasContainingClass()
Implements org. |
| public boolean | |
| public Object | instantiate()
Implements org. |
| public SqlTuple | toSqlExpression(TableGroup tableGroup, Clause clause, SqmToSqlAstConverter walker, SqlAstCreationState sqlAstCreationState)
Implements org. |
| public void | visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType)
Overrides default org. |
| entityMapping | back to summary |
|---|---|
| private final EntityMappingType entityMapping | |
| navigableRole | back to summary |
|---|---|
| private final NavigableRole navigableRole | |
| sessionFactory | back to summary |
|---|---|
| protected final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| tableExpression | back to summary |
|---|---|
| private final String tableExpression | |
| AbstractCompositeIdentifierMapping | back to summary |
|---|---|
| public AbstractCompositeIdentifierMapping(EntityMappingType entityMapping, String tableExpression, MappingModelCreationProcess creationProcess) | |
| containsTableReference | back to summary |
|---|---|
| public boolean containsTableReference(String tableExpression) Overrides default org.
| |
| createDomainResult | back to summary |
|---|---|
| public <T> DomainResult Implements org. Doc from org. Create a DomainResult for a specific reference to this ModelPart.
| |
| createRootTableGroupJoin | back to summary |
|---|---|
| public TableGroup createRootTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType sqlAstJoinType, boolean fetched, Consumer<Predicate> predicateConsumer, SqlAstCreationState creationState) Implements org. Doc from org. Create the "join", but return a TableGroup. Intended for creating sub-query correlations. E.g., given
from SomeEntity e
where exists (
select 1
from AnotherEntity a
where e.association.attr = 1
)
We call this for the `e.association` path.
| |
| createTableGroupJoin | back to summary |
|---|---|
| public TableGroupJoin createTableGroupJoin(NavigablePath navigablePath, TableGroup lhs, String explicitSourceAlias, SqlAliasBase explicitSqlAliasBase, SqlAstJoinType requestedJoinType, boolean fetched, boolean addsPredicate, SqlAstCreationState creationState) Implements org. Doc from org. Create a TableGroupJoin.
| |
| findContainingEntityMapping | back to summary |
|---|---|
| public EntityMappingType findContainingEntityMapping() Implements org.
| |
| findSubPart | back to summary |
|---|---|
| public ModelPart findSubPart(String name, EntityMappingType treatTargetType) Overrides default org.
| |
| forEachJdbcValue | back to summary |
|---|---|
| public <X, Y> int forEachJdbcValue(Object value, int offset, X x, Y y, Bindable. Overrides default org. Doc from org. Visit each constituent JDBC value extracted from the entity instance itself.
Short-hand form of calling
| |
| generateFetch | back to summary |
|---|---|
| public Fetch generateFetch(FetchParent fetchParent, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) Implements org. Doc from org. Generates a Fetch of this fetchable
| |
| getContainingTableExpression | back to summary |
|---|---|
| public String getContainingTableExpression() Implements org. Doc from org. The table which contains the columns mapped by this value
| |
| getEmbeddableTypeDescriptor | back to summary |
|---|---|
| public EmbeddableMappingType getEmbeddableTypeDescriptor() Implements org.
| |
| getEntityMapping | back to summary |
|---|---|
| protected EntityMappingType getEntityMapping() | |
| getMappedFetchOptions | back to summary |
|---|---|
| public FetchOptions getMappedFetchOptions() Implements org. Doc from org. The configured fetch timing and style
| |
| getMappedType | back to summary |
|---|---|
| public EmbeddableMappingType getMappedType() Overrides default org. Implements org. Doc from org. Descriptor for the type of this mapping
| |
| getNavigableRole | back to summary |
|---|---|
| public NavigableRole getNavigableRole() Implements org.
| |
| getStyle | back to summary |
|---|---|
| public FetchStyle getStyle() Implements org.
| |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org.
| |
| hasContainingClass | back to summary |
|---|---|
| public boolean hasContainingClass() Implements org. Doc from org. Does the identifier have a corresponding EmbeddableId or IdClass?
| |
| hasPartitionedSelectionMapping | back to summary |
|---|---|
| public boolean hasPartitionedSelectionMapping() Overrides default org. Implements org.
| |
| instantiate | back to summary |
|---|---|
| public Object instantiate() Implements org. Doc from org. Instantiate an instance of the identifier.
| |
| toSqlExpression | back to summary |
|---|---|
| public SqlTuple toSqlExpression(TableGroup tableGroup, Clause clause, SqmToSqlAstConverter walker, SqlAstCreationState sqlAstCreationState) Implements org.
| |
| visitSubParts | back to summary |
|---|---|
| public void visitSubParts(Consumer<ModelPart> consumer, EntityMappingType treatTargetType) Overrides default org.
| |