Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1229

Finder with null EQL string reported o wrong entity bean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • No Release
    • JBossAS-3.2.6 Final
    • CMP service
    • None

      SourceForge Submitter: davout .
      I've noticed that if you mistakenly create a 'finder'
      method in a CMP entity bean with an empty EQL string
      then on deployment the application server reports this
      error with the wrong entity bean name and a misleading
      error message.

      It seems to use the last entity bean name in the
      deployment list irrespective of where the EQL occurs.

      It also reports the error as...

      org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM
      not found

      ... which is correct but also misleading.

      It ought to report something like....

      "null EQL string"

            olubyans@redhat.com Alexey Loubyansky
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: