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

Wrong exception message for missing findByPrimaryKey() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.1 SP1
    • EJB2
    • None
    • Windows 2000 Professional / Sun JDK 1.4.2_04

      When deploying an application including a bean with a missing findByPrimaryKey() method in the home interface the exception message gives not the offending bean
      but an arbitrary other bean that possibly has a findByPrimaryKey() method. This makes it hard to find the bean that needs fixing.
      (Explained in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48222 but I didn't find a bugtracking entry for this.)

              olubyans@redhat.com Alexey Loubyansky
              tp3_jira Torsten Paul (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: