This content has been marked as final.
Show 1 reply
-
1. Re: java.util.Date and EJB-QL
martin0 May 4, 2004 10:11 AM (in response to mmqwertz)Well EJB-QL is one thing, JBoss-QL is a superset of it.
Like you say, in there are restrictions on this.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/EJBQL6.html
statesTo compare date and time values in an EJB QL query, use long primitives to represent the values as milliseconds. Do not use the java.util.Date and java.sql.Time objects in EJB QL comparisons.
However Jboss-QL may cope with java.util.Date objects.
(also) Martin