jakarta.persistence.OneToOne associations
in a second pass.
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataBuildingContext | |
| private final String | |
| private final PropertyData | |
| private final AnnotatedJoinColumns | |
| private final String | |
| private final NotFoundAction | |
| private final OnDeleteAction | |
| private final boolean | |
| private final String | |
| private final PropertyHolder | |
| private final XClass |
| Access | Constructor and Description |
|---|---|
| public | OneToOneSecondPass(String mappedBy, String ownerEntity, String ownerProperty, PropertyHolder propertyHolder, PropertyData inferredData, XClass targetEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, String cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | bindTargetManyToOne(Map<String, PersistentClass> persistentClasses, OneToOne oneToOne, Property property, PersistentClass targetEntity, Property targetProperty)
|
| private void | |
| private Join | buildJoinFromMappedBySide(PersistentClass persistentClass, Property otherSideProperty, Join originalJoin)
Builds the |
| public void | doSecondPass(Map<String, PersistentClass> persistentClasses)
Implements org. |
| private ForeignKeyDirection | |
| private Property |
| buildingContext | back to summary |
|---|---|
| private final MetadataBuildingContext buildingContext | |
| cascadeStrategy | back to summary |
|---|---|
| private final String cascadeStrategy | |
| inferredData | back to summary |
|---|---|
| private final PropertyData inferredData | |
| joinColumns | back to summary |
|---|---|
| private final AnnotatedJoinColumns joinColumns | |
| mappedBy | back to summary |
|---|---|
| private final String mappedBy | |
| notFoundAction | back to summary |
|---|---|
| private final NotFoundAction notFoundAction | |
| onDeleteAction | back to summary |
|---|---|
| private final OnDeleteAction onDeleteAction | |
| optional | back to summary |
|---|---|
| private final boolean optional | |
| ownerEntity | back to summary |
|---|---|
| private final String ownerEntity | |
| propertyHolder | back to summary |
|---|---|
| private final PropertyHolder propertyHolder | |
| targetEntity | back to summary |
|---|---|
| private final XClass targetEntity | |
| OneToOneSecondPass | back to summary |
|---|---|
| public OneToOneSecondPass(String mappedBy, String ownerEntity, String ownerProperty, PropertyHolder propertyHolder, PropertyData inferredData, XClass targetEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, String cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext) | |
| bindOwned | back to summary |
|---|---|
| private void bindOwned(Map<String, PersistentClass> persistentClasses, OneToOne oneToOne, String propertyName, Property property) | |
| bindTargetManyToOne | back to summary |
|---|---|
| private void bindTargetManyToOne(Map<String, PersistentClass> persistentClasses, OneToOne oneToOne, Property property, PersistentClass targetEntity, Property targetProperty) | |
| bindUnowned | back to summary |
|---|---|
| private void bindUnowned(Map<String, PersistentClass> persistentClasses, OneToOne oneToOne, Property property) | |
| buildJoinFromMappedBySide | back to summary |
|---|---|
| private Join buildJoinFromMappedBySide(PersistentClass persistentClass, Property otherSideProperty, Join originalJoin) Builds the | |
| doSecondPass | back to summary |
|---|---|
| public void doSecondPass(Map<String, PersistentClass> persistentClasses) throws MappingException Implements org. Doc from org. Perform the operation
| |
| getForeignKeyDirection | back to summary |
|---|---|
| private ForeignKeyDirection getForeignKeyDirection() | |
| targetProperty | back to summary |
|---|---|
| private Property targetProperty(OneToOne oneToOne, PersistentClass targetEntity) | |