public class HintValues
extends java.lang.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 java.lang.String |
FALSE |
static java.lang.String |
PERSISTENCE_UNIT_DEFAULT |
static java.lang.String |
TRUE |
Constructor and Description |
---|
HintValues() |
public static final java.lang.String TRUE
public static final java.lang.String FALSE
public static final java.lang.String PERSISTENCE_UNIT_DEFAULT