Uploaded image for project: 'OJB'
  1. OJB
  2. OJB-68

Query/reference prefetching issue: PersistenceBrokerAware#afterLookup(...) is called before the object was completely materialized

    XMLWordPrintableJSON

Details

    Description

      PersistenceBrokerAware#afterLookup(...) is called before the object was completely materialized. The "normal" fields are materialized, but all references still 'null' when the afterLookupEvent is fired. The query/reference prefetching in class QueryReferenceBroker is responsible because it seems that this class batch the retrieve of references.
      Test case to reproduce this issue is PBListenerTest#testStoreAndQuery().

      Attachments

        Activity

          People

            brj Jakob Braeuchi
            arminw Armin Waibel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: