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>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964420#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...