Class OneToOneSecondPass
java.lang.Object
org.hibernate.boot.model.internal.OneToOneSecondPass
- All Implemented Interfaces:
Serializable,SecondPass
We have to handle
OneToOne associations
in a second pass.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOneToOneSecondPass(String mappedBy, String ownerEntity, PropertyHolder propertyHolder, PropertyData inferredData, String referencedEntityName, boolean annotatedEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, EnumSet<CascadeType> cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoSecondPass(Map<String, PersistentClass> persistentClasses) Perform the operation
-
Constructor Details
-
OneToOneSecondPass
public OneToOneSecondPass(String mappedBy, String ownerEntity, PropertyHolder propertyHolder, PropertyData inferredData, String referencedEntityName, boolean annotatedEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, EnumSet<CascadeType> cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext)
-
-
Method Details
-
doSecondPass
Description copied from interface:SecondPassPerform the operation- Specified by:
doSecondPassin interfaceSecondPass- Throws:
MappingException
-