Class ContextInfo.QueryHints

  • Enclosing class:
    ContextInfo

    public static class ContextInfo.QueryHints
    extends Object
    Container object for one or more ContextInfo.QueryHint instances. Query hints are used to impact queries and results executed from the ORM in different ways.
    • Method Detail

      • isForCounting

        public boolean isForCounting()
        Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries. Default is true.
      • setForCounting

        public void setForCounting​(boolean forCounting)
        Whether or not if the hints contained herein should also apply to count queries, or should be limited to only fetch queries. Default is true.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object