Top Description Fields Constructors Methods
org.hibernate.cfg

public Class ToOneFkSecondPass

extends FkSecondPass
Class Inheritance
Imports
java.util.Iterator, org.hibernate.AnnotationException, .AssertionFailure, .MappingException, org.hibernate.cfg.annotations.TableBinder, org.hibernate.mapping.ManyToOne, .OneToOne, .PersistentClass, .Property, .ToOne, .KeyValue, .Component, org.hibernate.util.StringHelper

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

Field Summary

Modifier and TypeField and Description
private String
private Mappings
private String
private boolean
Inherited from org.hibernate.cfg.FkSecondPass:
columnsvalue

Constructor Summary

AccessConstructor and Description
public
ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, Mappings mappings)

Method Summary

Modifier and TypeMethod and Description
public void
doSecondPass(Map<K, V> persistentClasses)

Implements org.hibernate.cfg.SecondPass.doSecondPass.

public String
public boolean
Inherited from org.hibernate.cfg.FkSecondPass:
equalsgetUniqueCountergetValuehashCode

Field Detail

entityClassNameback to summary
private String entityClassName
mappingsback to summary
private Mappings mappings
pathback to summary
private String path
uniqueback to summary
private boolean unique

Constructor Detail

ToOneFkSecondPassback to summary
public ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, Mappings mappings)

Method Detail

doSecondPassback to summary
public void doSecondPass(Map<K, V> persistentClasses) throws MappingException

Implements org.hibernate.cfg.SecondPass.doSecondPass.

getReferencedEntityNameback to summary
public String getReferencedEntityName()

Implements abstract org.hibernate.cfg.FkSecondPass.getReferencedEntityName.

isInPrimaryKeyback to summary
public boolean isInPrimaryKey()

Implements abstract org.hibernate.cfg.FkSecondPass.isInPrimaryKey.