[jboss-user] [EJB/JBoss] - Re: ParseException : expecting one of <DATETIME_VALUED_PARAM
ohadraz
do-not-reply at jboss.com
Thu Aug 10 12:22:50 EDT 2006
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#3964420
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964420
More information about the jboss-user
mailing list