This content has been marked as final. Show 3 replies
Did you find the solution yet?
Did you find a solution?
I have a similar problem. It seams to occur only with dates?!
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>