public class EqualsHashCodeEvent extends EntityMappingEvent
EqualsHashCodeEvent indicates that an entity does not define
proper Object.equals(Object) and Object.hashCode() methods
that provide the equivalence relation properties:
equals and hashCode yield the same result no matter the
JPA entity state change (New, Managed, Detached, Removed).Event.Priority| Constructor and Description |
|---|
EqualsHashCodeEvent(Class entityClass,
String entityStateTransitionMethodName)
Instantiate the event using the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
String |
getEntityStateTransitionMethodName()
The entity state transition method name that was called when the entity was found to be already managed.
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
getEntityClass, getEntityNamegetInfoUrlpublic String getEntityStateTransitionMethodName()
public Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.