rewrite-migrate-java icon indicating copy to clipboard operation
rewrite-migrate-java copied to clipboard

Add Transient annotation to private accessor methods

Open evie-lau opened this issue 1 year ago • 0 comments

What's changed?

OpenJPA -> EclipseLink recipe Add @Transient annotation to private accessor methods

What's your motivation?

https://wiki.eclipse.org/EclipseLink/Examples/JPA/Migration/OpenJPA/Mappings#Private_Accessor_Methods

Anything in particular you'd like reviewers to focus on?

Question for this recipe, and maybe even all the other EclipseLink migration recipes... Do all the JPA migration recipes require the class being tagged with @Entity or some JPA annotation? @cjobinabo

Checklist

  • [x] I've added unit tests to cover both positive and negative cases
  • [x] I've read and applied the recipe conventions and best practices
  • [x] I've used the IntelliJ IDEA auto-formatter on affected files

evie-lau avatar Feb 22 '24 14:02 evie-lau