EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.config
Class HintValues

java.lang.Object
  extended by org.eclipse.persistence.config.HintValues

public class HintValues
extends java.lang.Object

Hint values. The class defines boolean values used by some EclipseLink query hints.

JPA Query Hint Usage:

query.setHint(QueryHints.REFRESH, HintValues.TRUE);

or

@QueryHint(name=QueryHints.REFRESH, value=HintValues.TRUE)

Hint values are case-insensitive.

See Also:
QueryHints

Field Summary
static java.lang.String FALSE
           
static java.lang.String PERSISTENCE_UNIT_DEFAULT
           
static java.lang.String TRUE
           
 
Constructor Summary
HintValues()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final java.lang.String TRUE
See Also:
Constant Field Values

FALSE

public static final java.lang.String FALSE
See Also:
Constant Field Values

PERSISTENCE_UNIT_DEFAULT

public static final java.lang.String PERSISTENCE_UNIT_DEFAULT
See Also:
Constant Field Values
Constructor Detail

HintValues

public HintValues()

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference