I know it's a wrong place to post it here but still worth a try since i can't
get answer from ejb3 forum.
I have a date field defined as Temporal.TIMESTAMP. There seem to be a problem
If I want to compare its date without check time. Here is my hql:
em.createQuery("from A a where a.datetime=:date").setParameter("date",new
Date(),Temporal.DATE);
This fails unless I define my date filed as Temporal.DATE. As I need both time
and date mostly, i have to define it as Temporal.TIMESTAMP. Is there anyway to
achive this in ejb ql?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951886#3951886
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951886
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user