Class JPATraversableResolver

java.lang.Object
org.hibernate.validator.internal.engine.resolver.JPATraversableResolver
All Implemented Interfaces:
TraversableResolver

public class JPATraversableResolver extends Object implements TraversableResolver
An implementation of TraversableResolver which is aware of JPA 2 and utilizes PersistenceUtil to query the reachability of a property. This resolver will be automatically enabled if JPA 2 is on the classpath and the default TraversableResolver is used.

This class needs to be public as it's instantiated via a privileged action that is not in this package.

Author:
Hardy Ferentschik, Emmanuel Bernard