This content has been marked as final.
Show 3 replies
-
1. Re: ParseException : expecting one of <DATETIME_VALUED_PARAM
ohadraz Oct 18, 2005 5:57 PM (in response to catherinelo)Did you find the solution yet?
-
2. Re: ParseException : expecting one of <DATETIME_VALUED_PARAM
lippke Aug 8, 2006 2:57 AM (in response to catherinelo)Did you find a solution?
I have a similar problem. It seams to occur only with dates?! -
3. Re: ParseException : expecting one of <DATETIME_VALUED_PARAM
ohadraz Aug 10, 2006 12:22 PM (in response to catherinelo)This has workied for me. I had to separate java.sql.Date and java.sql.Time, and the following works for mr.
<query> <query-method> <method-name>findByTimeInterval</method-name> <method-params> <method-param>java.sql.Time</method-param> <method-param>java.sql.Time</method-param> </method-params> </query-method> <ejb-ql> <![CDATA[ SELECT OBJECT(time) FROM TimeEJB AS time WHERE time.time1 > ?1 AND nonWorkingDay.endTime < ?2 ]]> </ejb-ql> </query>