org.hibernate.QueryException: JPA-style positional param was not an integral ordinal

后端 未结 2 2055
盖世英雄少女心
盖世英雄少女心 2021-01-03 19:49

I have the following JPQL request;

@Query(value = \"select req_t \" +
        \"from TransactionRelation tr \" +
        \"inner join tr.requestTransaction r         


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-03 20:41

    You have no whitespace between lines

    "and req_t.receiver.id=?2 and req_t.requestType in ?3" +
        "and NOT EXISTS
    

    also check that the ?3 param is not empty list

提交回复
热议问题