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

Read-only entity fails to load.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-3.2.6 Final
    • CMP service
    • None

    Description

      SourceForge Submitter: brodziakm .
      Operating System: Windows XP
      JDK Version: 1.4.2
      JBoss Version: JBoss 3.2.3

      I am using a set of read-only entity beans. This EJB
      package deploys and executes correctly under JBoss
      3.2.1 (and 3.2.0RC3).

      Under JBoss 3.2.3 the attached exception trace occurs.

      The following forum entry (on JBoss.org) indicates that
      this problem was resolved earlier; it appears to have
      been re-introduced.

      http://www.jboss.org/index.html?
      module=bb&op=viewtopic&t=22204

      I believe that the issue relates to the handling of read-
      only fields; I believe that they are being incorrectly
      optimised out of the SQL, and hence not loaded.

      To reproduce the bug:
      1. Define a read-only entity bean. In my case the entity
      contains only 2 fields: key and description, which are
      both read-only.
      2. Deploy the EJB.
      3. Attempt to access the EJB. The exception trace
      should occur.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: