Cache type persistence property values.
JPA persistence property Usage:
for all entities append DEFAULT suffix to CACHE_TYPE_ prefix:
properties.add(TopLinkProperties.CACHE_TYPE_DEFAULT, CacheType.Weak);
for a single entity append either entity name or a full class name to CACHE_TYPE_ prefix:
properties.add(TopLinkProperties.EmployeeEntity, CacheType.Weak);
properties.add(TopLinkProperties.my.test.Employee, CacheType.Weak);
Values are case-insensitive.
"" could be used instead of default value CacheType.DEFAULT. |