Add @Transient to unannotated entity attributes
MSALIn OpenJPA, attributes that are themselves entity classes are not persisted by default. EclipseLink has a different default behavior and tries to persist these attributes to the database. To keep the OpenJPA behavior of ignoring unannotated entity attributes, add the javax.persistence.Transient annotation to these attributes in EclipseLink.
org. openrewrite. java. migrate. javax. AddTransientAnnotationToEntitymod run . --recipe= org. openrewrite. java. migrate. javax. AddTransientAnnotationToEntityInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.