Hi Filippo,

have you set the correct parameter in your query? You wrote:
anonymous wrote : ... o.listino.id=?2 AND o.currency.id=?2 ...

You have twice the ?2 but and no ?1.

We use a select query with a date without any problems. Its like:

SELECT OBJECT(o) FROM aEntity AS o WHERE o.eDate=?1

Regards
Marco

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to