public static class ForeignKeys.Nullifier extends Object
| Constructor and Description |
|---|
Nullifier(Object self,
boolean isDelete,
boolean isEarlyInsert,
SharedSessionContractImplementor session,
EntityPersister persister)
Constructs a Nullifier
|
| Modifier and Type | Method and Description |
|---|---|
void |
nullifyTransientReferences(Object[] values)
Nullify all references to entities that have not yet been inserted in the database, where the foreign key
points toward that entity.
|
public Nullifier(Object self, boolean isDelete, boolean isEarlyInsert, SharedSessionContractImplementor session, EntityPersister persister)
self - The entityisDelete - Are we in the middle of a delete action?isEarlyInsert - Is this an early insert (INSERT generated id strategy)?session - The sessionpersister - The EntityPersister for selfpublic void nullifyTransientReferences(Object[] values)
values - The entity attribute valuesCopyright © 2019 JBoss by Red Hat. All rights reserved.