Add a default constructor to @Entity and @MappedSuperclass classes
MSALWhen a Java Persistence API (JPA) entity class has a constructor with arguments, the class must also have a default, no-argument constructor. The OpenJPA implementation automatically generates the no-argument constructor, but the EclipseLink implementation does not.
org. openrewrite. java. migrate. javax. AddDefaultConstructorToEntityClassmod run . --recipe= org. openrewrite. java. migrate. javax. AddDefaultConstructorToEntityClassInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.