Class HintValues


  • public class HintValues
    extends java.lang.Object
    Hint values. The class defines boolean values used by some EclipseLink query hints.

    JPA Query Hint Usage:

    query.setHint(QueryHints.REFRESH, HintValues.TRUE);

    or

    @QueryHint(name=QueryHints.REFRESH, value=HintValues.TRUE)

    Hint values are case-insensitive.

    See Also:
    QueryHints
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FALSE  
      static java.lang.String PERSISTENCE_UNIT_DEFAULT  
      static java.lang.String TRUE  
    • Constructor Summary

      Constructors 
      Constructor Description
      HintValues()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • HintValues

        public HintValues()