0
私のSQLクエリがHQLでの句が
select count(tid) from admin.details tcd
inner join admin.module tm on tcd.moduleid=tm.module where
tm.bankid=1234 and roundid=2 and tm.status=true
がどのようにHQL使用して同じ出力を得ることですどこに参加?
私はこれを試しました。構文エラーが発生しました
select count(tid) from Details d join tcd.Module m
with d.moduleId=m.moduleId
where d.bankDetails.bankId = :bid
and d.roundMaster.roundId = :rid and m.status=:pid
エラーを投稿できますか? – Sreemat
プロパティtcd.Moduleを解決できませんでした – vimal