Class ToOneFkSecondPass
java.lang.Object
org.hibernate.boot.model.internal.FkSecondPass
org.hibernate.boot.model.internal.ToOneFkSecondPass
- All Implemented Interfaces:
Serializable,SecondPass
Enable a proper set of the FK columns in respect with the id column order
Allow the correct implementation of the default EJB3 values which needs both
sides of the association to be resolved
- Author:
- Emmanuel Bernard
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.boot.model.internal.FkSecondPass
columns, value -
Constructor Summary
ConstructorsConstructorDescriptionToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoSecondPass(Map<String, PersistentClass> persistentClasses) Perform the operationbooleanMethods inherited from class org.hibernate.boot.model.internal.FkSecondPass
equals, getValue, hashCode
-
Constructor Details
-
ToOneFkSecondPass
public ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)
-
-
Method Details
-
getReferencedEntityName
- Specified by:
getReferencedEntityNamein classFkSecondPass
-
isInPrimaryKey
public boolean isInPrimaryKey()- Specified by:
isInPrimaryKeyin classFkSecondPass
-
doSecondPass
Description copied from interface:SecondPassPerform the operation- Throws:
MappingException
-