2 Replies Latest reply on Aug 14, 2003 1:35 PM by kv_moj

    Problem with finders with mySQL

    saadsheikh

      hi there,
      I am using JBOSS 3.2.1 with mySQL. The problem is that the EJB QL is giving a lot of problems. both LIKE of strings and > < operators of time are not giving desired results.

      Can anyone help???

      Saad

        • 1. Re: Problem with finders with mySQL
          crhandy

          Are you using the ![CDATA[ejbql statement]] syntax in your <ejb-ql> tags?

          • 2. Re: Problem with finders with mySQL

            Hi,

            No way to know exactly why you're having this problem without seeing your deploy-descriptors but sometimes it helps to just know that these do work.
            I've used LIKE and all the other jbossQL specific operators as well as the <> on most versions of Jboss with mysql no problems - so you're doing something wrong.
            If you're still having this problem post your ejb.jar and jbosscmp-jdbc.xml and maybe someone'll see the problem.

            kv.