Class CascadePolicy

java.lang.Object
org.eclipse.persistence.config.CascadePolicy

public class CascadePolicy extends 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: