Package org.eclipse.persistence.config
Class CascadePolicy
- java.lang.Object
-
- org.eclipse.persistence.config.CascadePolicy
-
public class CascadePolicy extends java.lang.Object
Cascade policy hint values.
The class contains all the valid values for QueryHints.REFRESH_CASCADE query hint.
JPA Query Hint Usage:
query.setHint(QueryHints.REFRESH_CASCADE, CascadePolicy.CascadeAllParts);
or
@QueryHint(name=QueryHints.REFRESH_CASCADE, value=CascadePolicy.CascadeAllParts)Hint values are case-insensitive. "" could be used instead of default value CascadePolicy.DEFAULT.
- See Also:
QueryHints
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CascadeAllParts
static java.lang.String
CascadeByMapping
static java.lang.String
CascadePrivateParts
static java.lang.String
DEFAULT
static java.lang.String
NoCascading
-
Constructor Summary
Constructors Constructor Description CascadePolicy()
-
-
-
Field Detail
-
NoCascading
public static final java.lang.String NoCascading
- See Also:
- Constant Field Values
-
CascadePrivateParts
public static final java.lang.String CascadePrivateParts
- See Also:
- Constant Field Values
-
CascadeAllParts
public static final java.lang.String CascadeAllParts
- See Also:
- Constant Field Values
-
CascadeByMapping
public static final java.lang.String CascadeByMapping
- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
-