Remove invalid @GeneratedValue annotation

MSAL

Removes @GeneratedValue annotation from fields that are not also annotated with @Id.

org.openrewrite.hibernate.RemoveInvalidHibernateGeneratedValueAnnotation
mod run . --recipe=org.openrewrite.hibernate.RemoveInvalidHibernateGeneratedValueAnnotation

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.