jakarta.persistence.EmbeddedId
| Modifier and Type | Field and Description |
|---|---|
| private final EmbeddableMappingType | |
| private final String | |
| private final PropertyAccess |
| Access | Constructor and Description |
|---|---|
| public | EmbeddedIdentifierMappingImpl(EntityMappingType entityMapping, String name, EmbeddableMappingType embeddableDescriptor, PropertyAccess propertyAccess, String tableExpression, MappingModelCreationProcess creationProcess)
|
| embeddableDescriptor | back to summary |
|---|---|
| private final EmbeddableMappingType embeddableDescriptor | |
| name | back to summary |
|---|---|
| private final String name | |
| propertyAccess | back to summary |
|---|---|
| private final PropertyAccess propertyAccess | |
| EmbeddedIdentifierMappingImpl | back to summary |
|---|---|
| public EmbeddedIdentifierMappingImpl(EntityMappingType entityMapping, String name, EmbeddableMappingType embeddableDescriptor, PropertyAccess propertyAccess, String tableExpression, MappingModelCreationProcess creationProcess) | |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState) Implements org. Doc from org. Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause.
| |
| applySqlSelections | back to summary |
|---|---|
| public void applySqlSelections(NavigablePath navigablePath, TableGroup tableGroup, DomainResultCreationState creationState, BiConsumer<SqlSelection, JdbcMapping> selectionConsumer) Implements org. Doc from org. Apply SQL selections for a specific reference to this ModelPart outside the domain query's root select clause.
| |
| compare | back to summary |
|---|---|
| public int compare(Object value1, Object value2) Overrides default org.
| |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName() Implements org. Doc from org. The name of the attribute defining the id, if one
| |
| getFetchableName | back to summary |
|---|---|
| public String getFetchableName() Implements org. Doc from org. The name of the fetchable. This is the part's "local name".
| |
| getIdentifier | back to summary |
|---|---|
| public Object getIdentifier(Object entity) Implements org. Doc from org. Extract the identifier from an instance of the entity
| |
| getMappedIdEmbeddableTypeDescriptor | back to summary |
|---|---|
| public EmbeddableMappingType getMappedIdEmbeddableTypeDescriptor() Implements org. Doc from org. Returns the embeddable type descriptor of the id-class, if there is one, otherwise the one of the virtual embeddable mapping type.
| |
| getNature | back to summary |
|---|---|
| public EntityIdentifierMapping. Implements org.
| |
| getPartMappingType | back to summary |
|---|---|
| public EmbeddableMappingType getPartMappingType() Implements org. Doc from org. The type for this part.
| |
| getPartName | back to summary |
|---|---|
| public String getPartName() Overrides default org. Implements org. Doc from org. The local part name, which is generally the unqualified role name
| |
| getPropertyAccess | back to summary |
|---|---|
| public PropertyAccess getPropertyAccess() Implements org. Doc from org. Access to the identifier attribute's PropertyAccess
| |
| getSqlAliasStem | back to summary |
|---|---|
| public String getSqlAliasStem() Implements org. Doc from org. Get the "stem" used as the base for generating SQL table aliases for table references that are part of the TableGroup being generated Note that this is a metadata-ive value. It is only ever used internal to the producer producing its TableGroup.
| |
| setIdentifier | back to summary |
|---|---|
| public void setIdentifier(Object entity, Object id, SharedSessionContractImplementor session) Implements org. Doc from org. Inject an identifier value into an instance of the entity
| |