Remove invalid @GeneratedValue annotation
MSALRemoves @GeneratedValue annotation from fields that are not also annotated with @Id.
org. openrewrite. hibernate. RemoveInvalidHibernateGeneratedValueAnnotationmod run . --recipe= org. openrewrite. hibernate. RemoveInvalidHibernateGeneratedValueAnnotationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.