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

Provider/Persistence*Util.isLoaded for Embeddable fields

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: jpa
    • Labels:
      None

      Description

      JPA 2.0 spec describe the isLoaded semantics for embeddable in Section 3.2.9 Load State.

      However it does not define how embeddable field can be specified in the isLoaded methods.

      E.g.
      @Entity Class Entity

      { @Embedded Embeddable emb; }

      @Embeddable Class Embeddable

      { int embedField; }

      Entity e;
      PersistenceUtil pu;
      pu.isLoaded( e, "emb"); <<<< defined
      pu.isLoaded( e, "emb.embedField"); <<<< new feature

      Albert Lee.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              allee8285 Albert Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: