rewrite-migrate-java
rewrite-migrate-java copied to clipboard
Add Transient annotation to private accessor methods
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