Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M2
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Fay Wang added a comment -

      This is related to MappedById support from Iteration 2, JIRA-851.

      Show
      Fay Wang added a comment - This is related to MappedById support from Iteration 2, JIRA-851.
      Hide
      Pinaki Poddar added a comment -

      Please consider
      1. for FieldMetaData.__mappedByIdValue following similar pattern as in FieldMetaData._mappedBy
      That is capture the data from parser as field name but resolve it to a metadata element in getter.

      2. Document for ApplicationIds.setKey() method

      Show
      Pinaki Poddar added a comment - Please consider 1. for FieldMetaData.__mappedByIdValue following similar pattern as in FieldMetaData._mappedBy That is capture the data from parser as field name but resolve it to a metadata element in getter. 2. Document for ApplicationIds.setKey() method
      Hide
      Fay Wang added a comment -

      1/ The item below has not yet been checked in/implemented:

      • Spec 2.4.1.2 Ex 5(a) and Ex 6(a)

      These two examples are for the IdClass rule in Spec 2.4.1.1. (page 27)
      "If an Id attribute in the entity is a many-to-one or one-to-one reference to a parent entity, the type of the corresponding attribute in the id class must be the same Java type as the id class or embedded id of the parent entity (if the parent entity has a composite primary key) or the type of the Id attribute of the parent entity (if the parent entity has a simple primary key)."

      The implementation of this item will be deferred to Iteration 4.

      2/ Issue that requires further clarification: Spec 2.4.1.2 Ex 2(b)
      suggested change is to add @Embeddable to EmployeeId to make it visible to DependentId.

      Show
      Fay Wang added a comment - 1/ The item below has not yet been checked in/implemented: Spec 2.4.1.2 Ex 5(a) and Ex 6(a) These two examples are for the IdClass rule in Spec 2.4.1.1. (page 27) "If an Id attribute in the entity is a many-to-one or one-to-one reference to a parent entity, the type of the corresponding attribute in the id class must be the same Java type as the id class or embedded id of the parent entity (if the parent entity has a composite primary key) or the type of the Id attribute of the parent entity (if the parent entity has a simple primary key)." The implementation of this item will be deferred to Iteration 4. 2/ Issue that requires further clarification: Spec 2.4.1.2 Ex 2(b) suggested change is to add @Embeddable to EmployeeId to make it visible to DependentId.

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development