Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1486

Lazy fetched embeddable should not be materialized in the query result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta, 2.0.0-beta2
    • 2.0.0-beta3
    • None
    • None

    Description

      Currenlty openjpa will return an empty embeddable object as an entity attribute in the query result even if that embeddable attribute is lazily fetched. Moreover, the load bit in the StateManagerImpl is also on for that embeddable attribute. The expected behavior is that null value should be set to the embeddable attribute and the load bit should be off.

      Attachments

        Activity

          People

            faywang Fay Wang
            faywang Fay Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: