java - org.hibernate.hql.ast.QuerySyntaxException -


i getting exception:org.hibernate.hql.ast.querysyntaxexception: unexpected end of subtree when excute below query :

<query name="fetchcspecificationbyattidextid">        <![cdata[from > cproductspecifications attributeid=:attributeid  , > extractedproductid in (:extractedlist)]]>     </query> 

detailed stack trace is:

  org.hibernate.hql.ast.querysyntaxexception: unexpected end of subtree    [ com.bemol.dao.product.cproductspecifications attributeid=:attributeid  , extractedproductid in ()          ] 

service method calls query :

list<cproductspecifications> cspeclist=(list<cproductspecifications>)this.basedao.findbynamedqueryandnamedparam("fetchcspecificationbyattidextid", new string[]{"attributeid","extractedlist"},new object[]{aid,extractedlist}); 

perhaps extractedlist empty? try empty check first.


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -