jpa fulltext <expression>, <operator>, GROUP, HAVING or ORDER expected, got ‘(‘
直接写sql报错:
jpa fulltext <expression>, <operator>, GROUP, HAVING or ORDER expected, got '('
jpa支持原生SQL和实体类SQL进行自定义查询:
// 原生
@Query(value = "SELECT t2.userId, t1.title, t1.content, t1.completeTime, t2.scheduleState" +
" FROM schedule
原创
2021-02-26 18:31:47 ·
6544 阅读 ·
0 评论