title: No data type for node: org.hibernate.hql.internal.ast.tree.MethodNode
body: <p>I have an SpringBoot app with this query </p>
  
  <pre><code> @Transactional
      @Modifying
      @Query("update HotelDailyPrice cdp  set cdp.price = (select nvl (avg (cp.price),0) "
              + "from HotelPrice cp where cp.hotel = ?1 and cp.updateDate &gt; ?2), cdp.day = ?3 where cdp.hotel = ?1 ")
      void updateDailyAveragePrice (Hotel Hotel, Date dayDate, String dayDateString);
  </code></pre>
  
  <p>But I got this error:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: No data type for node: org.hibernate.hql.internal.ast.tree.MethodNode 
   \-[METHOD_CALL] MethodNode: '('
      +-[METHOD_NAME] IdentNode: 'nvl' {originalText=nvl}
      \-[EXPR_LIST] SqlNode: 'exprList'
         +-[AGGREGATE] AggregateNode: 'avg'
         |  \-[DOT] DotNode: 'hotel1_.price' {propertyName=price,dereferenceType=PRIMITIVE,getPropertyPath=price,path=cp.price,tableAlias=hotel1_,className=com.hotels
  .backend.persistence.domain.backend.HotelPrice,classAlias=cp}
         |     +-[ALIAS_REF] IdentNode: 'hotel1_.id' {alias=cp, className=com.hotels.backend.persistence.domain.backend.HotelPrice, tableAlias=hotel1_}
         |     \-[IDENT] IdentNode: 'price' {originalText=price}
         \-[NUM_INT] LiteralNode: '0'
  </code></pre>
  
  <p>This problem happens after add <strong>nvl</strong> in the query</p>