Package org.hibernate.cfg
Class ToOneFkSecondPass
java.lang.Object
org.hibernate.cfg.FkSecondPass
org.hibernate.cfg.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
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.cfg.FkSecondPass
columns, value -
Constructor Summary
ConstructorsConstructorDescriptionToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, Mappings mappings) -
Method Summary
Methods inherited from class org.hibernate.cfg.FkSecondPass
equals, getUniqueCounter, getValue, hashCode
-
Constructor Details
-
ToOneFkSecondPass
public ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, Mappings mappings)
-
-
Method Details
-
getReferencedEntityName
- Specified by:
getReferencedEntityNamein classFkSecondPass
-
isInPrimaryKey
public boolean isInPrimaryKey()- Specified by:
isInPrimaryKeyin classFkSecondPass
-
doSecondPass
- Throws:
MappingException
-