|Constructor and Description|
Constructs a Nullifier
|Modifier and Type||Method and Description|
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 entity
isDelete- Are we in the middle of a delete action?
isEarlyInsert- Is this an early insert (INSERT generated id strategy)?
session- The session
persister- The EntityPersister for
public void nullifyTransientReferences(Object values)
values- The entity attribute values
Copyright © 2021 JBoss by Red Hat. All rights reserved.