Fix conflicting class type annotation Hibernate 6.6
ProprietarySince 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. FixConflictingClassTypeAnnotationsmod run . --recipe= io. moderne. hibernate. update66. FixConflictingClassTypeAnnotationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.