org.hibernate.engine

Class ForeignKeys.Nullifier

Enclosing Class:
ForeignKeys

public static class ForeignKeys.Nullifier
extends java.lang.Object

Constructor Summary

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

Constructor Details

Nullifier

public Nullifier(Object self,
                 boolean isDelete,
                 boolean isEarlyInsert,
                 SessionImplementor session)

Method Details

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