Add an option to disable the TraversableResolver result cache

Description

In the case where the calls to TraversableResolver methods are fast, caching them is not a good idea. So the user should be able to disable this cache.

Another point is that TraversableResolver initialization is currently a bit of a mess: the default one is in fact a wrapper around a potential JPA specific one. And it might be wrapped again into a CachingTraversableResolverForSingleValidation.

We could get rid of this wrapping layer and have a TraverseAllTraversingResolver and the JPA one and create one or the other depending on what's required.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Participants

Guillaume Smet

Components

Fix versions

Priority

Created October 4, 2017 at 1:52 PM
Updated October 19, 2017 at 4:09 PM
Resolved October 18, 2017 at 1:30 PM