Thanks for the insight; Some questions:
- Why is JPA part of the "system-wide library path"? Is this a specific thing just of your set-up?
- Why can JpaTraversableResolver not see the Persistence class if it's exposed on the system path?
So ideally, JPA would not be detected using reflection.
Do you have an alternative in mind? Bean Validation optionally integrates with JPA, so HV must detect its presence and if avaiable integrate with it but it also must work without JPA being present, so we cannot simply access that class. Of course we just can fix the interval and be done, but I'd rather fully grasp what's going on |