persistence@glassfish.java.net

Problem comparing dates in JPS QL

From: Ignacio de Córdoba <icordoba_at_skios.es>
Date: Tue, 8 Dec 2009 07:34:15 -0800 (PST)

Hi there,
i am trying to migrate from JBoss 5.1 to Glassfish v3 and get the following
error in my queries:

Exception Description: Syntax error parsing the query
[NMEASentence.findFromDate: select o from NMEASentence o where o.date >
:date order by date asc].

This query work OK with Hibernate and i don't get the point on where it is
not compatible with QJBQL 3.1 (JPA QL?)

I just need to do the typical "after" date query.

Thanks for any help,
Ignacio
-- 
View this message in context: http://old.nabble.com/Problem-comparing-dates-in-JPS-QL-tp26695692p26695692.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.