首先, @Query 不是jpa,而是spring数据jpa注解。 根据hibernate文档: jpql中的select语句与hql完全相同,只是jpql需要 select_clause 而hql没有。
確定! 回上一頁