OpenJPA
  1. OpenJPA
  2. OPENJPA-1486

Lazy fetched embeddable should not be materialized in the query result

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta, 2.0.0-beta2
    • Fix Version/s: 2.0.0-beta3
    • Component/s: None
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Fay Wang
            Reporter:
            Fay Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development