Fix conflicting class type annotation Hibernate 6.6

Proprietary

Since Hibernate 6.6 a mapped class can have either @MappedSuperclass or @Embeddable, or @Entity. This recipe removes @Entity from classes annotated with @MappedSuperclass or @Embeddable. For the moment die combination of @MappedSuperclass or @Embeddable is advised to migrate to Single Table Inheritance but still accepted and therefore stays.

io.moderne.hibernate.update66.FixConflictingClassTypeAnnotations
mod run . --recipe=io.moderne.hibernate.update66.FixConflictingClassTypeAnnotations

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