As suggested by dragon_jdh you need to escape your query in the xml file. So 
for every '<' in the query use "<" and similarly for every '>' use ">".  

Another alternative is to put your query in CDATA tag


  | <ejb-ql>[CDATA[SELECT OBJECT(o) FROM test as o WHERE o.cln =?1 AND o.pt =?2 
AND o.effDt >=?3]]</ejb-ql>
  | 

Good Luck,
VM

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863142#3863142

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863142


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to