This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the workflow service starts, it complains about missing functions: ``` 2023-05-23 20:42:48.386 WARN 3563913 --- [ task-1] o.h.t.d.java.JavaTypeDescriptorRegistry : HHH000481: Encountered Java type [class com.redhat.parodos.workflows.work.WorkContext] for which we could not locate a JavaTypeDescriptor and which does not appear to implement equals and/or hashCode. This can lead to significant performance problems when performing equality/dirty checking involving this Java type. Consider registering a custom JavaTypeDescriptor or at least implementing equals/hashCode. 2023-05-23 20:42:48.785 WARN 3563913 --- [ task-1] org.hibernate.mapping.RootClass : HHH000038: Composite-id class does not override equals(): com.redhat.parodos.project.entity.ProjectUserRole$Id 2023-05-23 20:42:48.785 WARN 3563913 --- [ task-1] org.hibernate.mapping.RootClass : HHH000039: Composite-id class does not override hashCode(): com.redhat.parodos.project.entity.ProjectUserRole$Idis ``` Those warnings can be solved by adding the @DaTa annotation which adds the needed functionality. Signed-off-by: Moti Asayag <[email protected]>
- Loading branch information