Class LoadRequest

    • Method Detail

      • getBeanType

        public abstract Class<?> getBeanType()
        Return the associated bean type for this load request.
      • isLazy

        public boolean isLazy()
        Return true if this is a lazy load and false if it is a secondary query.
      • getTransaction

        public Transaction getTransaction()
        Return the transaction to use if this is a secondary query.

        Lazy loading queries run in their own transaction.

      • isParentFindIterate

        public boolean isParentFindIterate()
        Return true if the parent query is a findIterate() type query. So one of - findIterate(), findEach(), findEachWhile() or findVisit().