Can you please try declare the date parameter and let the library help you
pass it in?
WHERE date > :date
query.setParameter("date", date);
On Fri, May 7, 2010 at 12:19 PM, CodeMan wrote:
> Hi,
> I am trying to fetch all records after a timestamp with this query
>
> select from com.chinua.Entity
Hi,
I am trying to fetch all records after a timestamp with this query
select from com.chinua.Entity.Comment where date > 'Sat Apr 17
21:40:05 UTC 2010' order by date desc
The query just returns 0 records but there dates after Sat Apr 17.
Can anyone help me out?
Thanks
CHINUA
--
You received