org.hibernate.cfg
Class OneToOneSecondPass
java.lang.Object
   org.hibernate.cfg.OneToOneSecondPass
org.hibernate.cfg.OneToOneSecondPass
- All Implemented Interfaces: 
- Serializable, SecondPass
- public class OneToOneSecondPass 
- extends Object- implements SecondPass
We have to handle OneToOne in a second pass because:
 -
- See Also:
- Serialized Form
| Constructor Summary | 
| OneToOneSecondPass(String mappedBy,
                   String ownerEntity,
                   String ownerProperty,
                   PropertyHolder propertyHolder,
                   PropertyData inferredData,
                   org.hibernate.annotations.common.reflection.XClass targetEntity,
                   boolean ignoreNotFound,
                   boolean cascadeOnDelete,
                   boolean optional,
                   String cascadeStrategy,
                   Ejb3JoinColumn[] columns,
                   Mappings mappings)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OneToOneSecondPass
public OneToOneSecondPass(String mappedBy,
                          String ownerEntity,
                          String ownerProperty,
                          PropertyHolder propertyHolder,
                          PropertyData inferredData,
                          org.hibernate.annotations.common.reflection.XClass targetEntity,
                          boolean ignoreNotFound,
                          boolean cascadeOnDelete,
                          boolean optional,
                          String cascadeStrategy,
                          Ejb3JoinColumn[] columns,
                          Mappings mappings)
doSecondPass
public void doSecondPass(Map persistentClasses)
                  throws MappingException
- 
- Specified by:
- doSecondPassin interface- SecondPass
 
- 
- Throws:
- MappingException
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.