Tim
unread,Oct 24, 2010, 10:11:40 PM10/24/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flextrine
Hi all,
I got a weird behavior of DQL called from Flextrine last week when
trying the select records within a time range.
em.select("SELECT f FROM " + QueryUtil.getDQLClass(FlightVO) + " WHERE
f.timeDeparture BETWEEN '2010-08-05 24:00:00' AND '2010-08-06
24:00:00').
It turns out the upper time range doesn't work with "24:00:00". I mean
the results returned don't actually limit with upper range.
I guess it might be a DQL limitation, but haven't found any related
post yet.
(currently workaround is to subtract the upper time one millisecond,
then pass to the DQL, which works fine)