FileDocCategorySizeDatePackage
TopLinkQueryHints.javaAPI DocGlassfish v2 API3383Fri Jun 29 04:34:58 BST 2007oracle.toplink.essentials.config

TopLinkQueryHints

public class TopLinkQueryHints extends Object
The class defines TopLink query hints' names. JPA Query Hint Usage: query.setHint(TopLinkQueryHints.CACHE_USAGE, CacheUsage.CheckCacheOnly); or
QueryHint(name=TopLinkQueryHints.CACHE_USAGE,
value=CacheUsage.CheckCacheOnly) Hint values are case-insensitive; "" could be used instead of default value.
see
HintValues
see
CacheUsage
see
PessimisticLock
see
CascadePolicy

Fields Summary
public static final String
BIND_PARAMETERS
Valid values are: HintValues.PERSISTENCE_UNIT_DEFAULT, HintValues.TRUE, HintValues.FALSE "" could be used instead of default value HintValues.PERSISTENCE_UNIT_DEFAULT
public static final String
CACHE_USAGE
Valid values are all declared in CacheUsage class.
public static final String
PESSIMISTIC_LOCK
Valid values are all declared in PessimisticLock class.
public static final String
REFRESH
Valid values are: HintValues.FALSE, HintValues.TRUE "" could be used instead of default value HintValues.FALSE
public static final String
REFRESH_CASCADE
Valid values are all declared in CascadePolicy class.
Constructors Summary
Methods Summary