Class ToOneFkSecondPass
- java.lang.Object
-
- org.hibernate.boot.model.internal.FkSecondPass
-
- org.hibernate.boot.model.internal.ToOneFkSecondPass
-
- All Implemented Interfaces:
Serializable
,SecondPass
public class ToOneFkSecondPass extends FkSecondPass
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- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.boot.model.internal.FkSecondPass
columns, value
-
-
Constructor Summary
Constructors Constructor Description ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doSecondPass(Map<String,PersistentClass> persistentClasses)
Perform the operationString
getReferencedEntityName()
boolean
isInPrimaryKey()
-
Methods inherited from class org.hibernate.boot.model.internal.FkSecondPass
equals, getValue, hashCode
-
-
-
-
Constructor Detail
-
ToOneFkSecondPass
public ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
getReferencedEntityName
public String getReferencedEntityName()
- Specified by:
getReferencedEntityName
in classFkSecondPass
-
isInPrimaryKey
public boolean isInPrimaryKey()
- Specified by:
isInPrimaryKey
in classFkSecondPass
-
doSecondPass
public void doSecondPass(Map<String,PersistentClass> persistentClasses) throws MappingException
Description copied from interface:SecondPass
Perform the operation- Throws:
MappingException
-
-