In a manual review I found that people accidentally used javax.annotation.concurrent.Immutable in a JPA-Entity class instead of org.hibernate.annotations.Immutable. AFAIK there still is no javax.persistence.Immutable annotation (or jakarta.persistence.Immutable). We should detect that in *Entity classes using the javax.annotation.concurrent.Immutable shall raise an issue as this annotation does not seem to make sense there and most probably org.hibernate.annotations.Immutable was indendet.
In a manual review I found that people accidentally used
javax.annotation.concurrent.Immutable
in a JPA-Entity class instead oforg.hibernate.annotations.Immutable
. AFAIK there still is nojavax.persistence.Immutable
annotation (orjakarta.persistence.Immutable
). We should detect that in*Entity
classes using thejavax.annotation.concurrent.Immutable
shall raise an issue as this annotation does not seem to make sense there and most probablyorg.hibernate.annotations.Immutable
was indendet.