You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently equals(...) and hashCode() operation for POJOs and ServiceObjects is only generated if the class does not have any bidirectional associations
With a small extension to the current generator templates however it should be possible to also support equals(...) and hashCode() for classes with transaction back references (one of the ends of the associations is transient)
During comparision transient back references should be ignored as they are an mechanism for convinience and do not change the semantics of an object from a business perspective.
The text was updated successfully, but these errors were encountered:
jeaf-anaptecs
changed the title
Generate equals operation also for objects with transient back references
Generate equals(...) and hashCode() operation also for objects with transient back references
Mar 4, 2024
Feature Description
equals(...)
andhashCode()
operation for POJOs and ServiceObjects is only generated if the class does not have any bidirectional associationsequals(...)
andhashCode()
for classes with transaction back references (one of the ends of the associations is transient)The text was updated successfully, but these errors were encountered: