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

后端 未结 2 2046
盖世英雄少女心
盖世英雄少女心 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
    2021-01-03 20:35

    It happened to me, I had a ' ; ' char at the end of my query, copy pasted from my database querying tool :

    @Query(value = " DELETE FROM reunion WHERE id = ?1; ", nativeQuery = true)
    

提交回复
热议问题