JPA spring boot inner join - with-clause referenced two different from-clause elements error
- 阅读更多 关于 JPA spring boot inner join - with-clause referenced two different from-clause elements error
问题 I'm trying to select with a inner join in one of my JPA repositories the query: @Query(value = "select wm.WagerIdentification, wm.BoardNumber, wm.MarkSequenceNumber, wm.MarkNumber," + " pt.CouponTypeIdentification, pt.WagerBoardQuickPickMarksBoard " + "from WagerBoard wb " + "inner join wb.listOfWagerMarks wm on wb.WagerIdentification = wm.WagerIdentification and wb.BoardNumber = wm.BoardNumber and wb.GameIdentification = wm.GameIdentification and wm.meta_IsCurrent = 1 " + "inner join wb