Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      CascadePolicy()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CascadePolicy

        public CascadePolicy()