Hi again,
Yes, since JAVA-636 has been released we have been receiving a few complaints similar to yours, which is why we logged
JAVA-1310.
Basically your only solution right now is to annotate all undesired getters with @Transient.
In the future we might want to explore different strategies, such as:
- Make the annotation parsing logic configurable at mapper level (only fields, only getters, or both)
- Make the class hierarchy scan configurable at mapper level (scan the whole hierarchy, or just annotated classes)
- Make transient properties configurable at mapper level (should properties be transient by default or not)
- etc.
If you think you could benefit from such improvements, please vote for JAVA-1310 and, if possible, add a comment with your own ideas.
Thanks,
Alexandre