站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

ForeignKeys.Nullifier (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.engine
Class ForeignKeys.Nullifier

java.lang.Object
  extended byorg.hibernate.engine.ForeignKeys.Nullifier
Enclosing class:
ForeignKeys

public static class ForeignKeys.Nullifier
extends Object


Constructor Summary
ForeignKeys.Nullifier(Object self, boolean isDelete, boolean isEarlyInsert, SessionImplementor session)
           
 
Method Summary
 void nullifyTransientReferences(Object[] values, Type[] types)
          Nullify all references to entities that have not yet been inserted in the database, where the foreign key points toward that entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeys.Nullifier

public ForeignKeys.Nullifier(Object self,
                             boolean isDelete,
                             boolean isEarlyInsert,
                             SessionImplementor session)
Method Detail

nullifyTransientReferences

public void nullifyTransientReferences(Object[] values,
                                       Type[] types)
                                throws HibernateException
Nullify all references to entities that have not yet been inserted in the database, where the foreign key points toward that entity

Throws:
HibernateException