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

Provider/Persistence*Util.isLoaded for Embeddable fields

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • jpa
    • 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

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

            Dates

              Created:
              Updated: