java - Hibernate : ORA-00907: missing right parenthesis -


i error : ora-00907: missing right parenthesis

with hql :

select new map(r,count(pt)) role r                     inner join r.portfolioteams pt                     inner join pt.teamstatustransitions ptst                     inner join ptst.teamstatus tst                     pt.id.bankid = :bankid                      , pt.id.networkdistributorid = :networkdistributorid                      , ptst.id.startdate  <= :startdate                      , (ptst.enddate null or ptst.enddate > :enddate)                      , tst.id.teamstatusid in (:statusid)                      , (r.id.cpmroleid in (:roles) or r.id.cpmroleid in (:roles1) ) 

i checked, there no missing parenthesis, i'm pretty sure comes count(pt).

any idea ?

thanks

maybe not variables (:bankid, :networkdistributorid, :startdate, :enddate, :statusid, :roles, :roles1) bound when executing query?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -