FileDocCategorySizeDatePackage
CacheType.javaAPI DocGlassfish v2 API2915Tue May 22 16:54:16 BST 2007oracle.toplink.essentials.config

CacheType

public class CacheType extends Object
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.
see
TopLinkProperties

Fields Summary
public static final String
Weak
public static final String
SoftWeak
public static final String
HardWeak
public static final String
Full
public static final String
NONE
public static final String
DEFAULT
Constructors Summary
Methods Summary