1
@Query("FROM GroupUserItemFGA fga WHERE (fga.identity.itemCode,fga.identity.dataAccessLevel) IN (:#{#fgaCombination.itemCode},:#{#fgaCombination.dataAccessLevel})")
    public List<GroupUserItemFGA> findFgaBasedFga(@Param("fgaCombination") List<Dto> fgaCombination);

Dto has both variable as string and public with getters and setters method.

Error:

org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'itemCode' cannot be found on object of type 'java.util.ArrayList' - maybe not public or not valid?

I had tried with array also..

In-stand of List if i use just Dto then it's working.

pratik deshai
  • 2,770
  • 2
  • 11
  • 13

0 Answers0