Hello kiuma, validityStart and validityEnd are of type Date? if so, then pass in Date type parameter.
alex Thursday, October 24, 2002, 4:09:16 PM, you wrote: k> Signature function is k> signature="java.util.Collection findInPeriod( long pInDate) k> where pInDate is date in millis. >> Hi all, >> I'm haveing the following error on th >> is query (jboss v3.2b) >> >> SELECT OBJECT(cal) FROM WaCalendar cal WHERE (cal.validityStart <= ?1) >> AND (cal.validityEnd >= ?1) ORDER BY cal.validityEnd >> >> >> cal.validityStart <= ?1 at line 1 column 51 >> >> expecting one of >> ABS >> LENGTH >> LOCATE >> ...... >> >> What's wrong? >> >> Thx in advance, >> kiuma >> -- Best regards, Alex Loubyansky ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
