5 Replies Latest reply on Jul 17, 2002 11:47 AM by Dain Sundstrom

    using a greater than or less than sign in ejb-ql where claus

    Dan Newbie

      I have an ejb-jar file with a cmp entity bean that contains a findBy type query. Inside the ejb-ql tag I can successfully create an equals clause but am unable to deploy the same bean if the where clause uses a greater than or less than sign. I have tried wrapping the symbol in quotes, wrapping the query in a cdata tag, all to no avail.

      The error message returned is Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: encountered ">" expecing "=", "<>"

      Is is supported?