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, String cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doSecondPass
(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, String cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext)
-
-
Method Details
-
doSecondPass
Description copied from interface:SecondPass
Perform the operation- Specified by:
doSecondPass
in interfaceSecondPass
- Throws:
MappingException
-