public static class ForeignKeys.Nullifier
extends java.lang.Object
| Constructor and Description |
|---|
Nullifier(java.lang.Object self,
boolean isDelete,
boolean isEarlyInsert,
SessionImplementor session)
Constructs a Nullifier
|
| Modifier and Type | Method and Description |
|---|---|
void |
nullifyTransientReferences(java.lang.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.
|
public Nullifier(java.lang.Object self,
boolean isDelete,
boolean isEarlyInsert,
SessionImplementor session)
self - The entityisDelete - Are we in the middle of a delete action?isEarlyInsert - Is this an early insert (INSERT generated id strategy)?session - The sessionpublic void nullifyTransientReferences(java.lang.Object[] values,
Type[] types)
values - The entity attribute valuestypes - The entity attribute typesCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.