public class HintValues extends Object
JPA Query Hint Usage:
query.setHint(QueryHints.REFRESH, HintValues.TRUE);
or
@QueryHint(name=QueryHints.REFRESH, value=HintValues.TRUE)
Hint values are case-insensitive.
QueryHints
Modifier and Type | Field and Description |
---|---|
static String |
FALSE |
static String |
PERSISTENCE_UNIT_DEFAULT |
static String |
TRUE |
Constructor and Description |
---|
HintValues() |
public static final String TRUE
public static final String FALSE
public static final String PERSISTENCE_UNIT_DEFAULT