Class OpenJPAVersionAndConfigurationTypeValidationPolicy

java.lang.Object
org.apache.openjpa.conf.OpenJPAVersionAndConfigurationTypeValidationPolicy
All Implemented Interfaces:
CacheMarshaller.ValidationPolicy, Configurable

public class OpenJPAVersionAndConfigurationTypeValidationPolicy extends Object implements CacheMarshaller.ValidationPolicy, Configurable
Compute validity based on whether or not the cached data is from the same version of Kodo as the current install. This also checks OpenJPA version information in case the OpenJPA jars were independently updated.
Since:
1.1.0