Add @Transient to private accessor methods

MSAL

According to the JPA 2.1 specification, when property access is used, the property accessor methods must be public or protected. OpenJPA ignores any private accessor methods, whereas EclipseLink persists those attributes. To ignore private accessor methods in EclipseLink, the methods must have a @Transient annotation.

org.openrewrite.java.migrate.javax.AddTransientAnnotationToPrivateAccessor
mod run . --recipe=org.openrewrite.java.migrate.javax.AddTransientAnnotationToPrivateAccessor

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