Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1pe
    • Fix Version/s: not determined
    • Component/s: entity-persistence
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2,812
    • Status Whiteboard:
      Hide

      HIGH

      Show
      HIGH

      Description

      Hi,

      Using TopLink Essentials 2.0-41.

      I've defined a default entity listener in file "orm.xml", however my listener is
      never called.

      I've noticed that if I add a specific listener on a given entity, then the
      default listener gets called.

      I've checked the code and it seems the problem lies in
      oracle.toplink.essentials.descriptors.DescriptorEventManager#hasAnyEventListeners().
      This method does not check for the presence of default listeners, hence always
      returns false if the only listeners are default listeners.

      Thanx

      Olivier

        Activity

        Hide
        gfbugbridge added a comment -

        <BT6546033>

        Show
        gfbugbridge added a comment - <BT6546033>
        Hide
        tware added a comment -
            • Issue 2865 has been marked as a duplicate of this issue. ***
        Show
        tware added a comment - Issue 2865 has been marked as a duplicate of this issue. ***
        Hide
        tware added a comment -

        Downgrading to P4 HIGH because of workaround

        Workaround is to use non-default entity listeners.

        Show
        tware added a comment - Downgrading to P4 HIGH because of workaround Workaround is to use non-default entity listeners.
        Hide
        jandr added a comment -

        Not using default listeners is not a workaround for default listeners not working.
        Default listeners are meant to avoid annotating every class with generic
        functionality.

        Show
        jandr added a comment - Not using default listeners is not a workaround for default listeners not working. Default listeners are meant to avoid annotating every class with generic functionality.
        Hide
        Tom Mueller added a comment -

        Bulk change to set fix version to "not determined" where the issue is open but the value is for a released version.

        Show
        Tom Mueller added a comment - Bulk change to set fix version to "not determined" where the issue is open but the value is for a released version.

          People

          • Assignee:
            tware
            Reporter:
            olafontaine
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: