Details

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

      Description

      This task is to update OpenJPA to:

      a) Include the new JPA 2.0 xsd's.
      b) Validate using the appropriate xsd based on the version specified in the persistence.xml or orm.xml.

        Activity

        Hide
        Jeremy Bauer added a comment -

        With the completion of this item in iteration1, OpenJPA:

        1) Includes the 10/31 version of the persistence_2_0.xsd and orm_2_0.xsd

        • The spec draft of persistence_2_0.xsd does not have the proper version attribute. This prohibited the use of the 2.0 persistence xsd. The xsd version attribute is fixed the schema included in OpenJPA.

        2) Will validate using the new schemas provided the version is specified in the corresponding xml document. This allows specification of new iteration 1 metadata content to be specified in the orm.xml. For example, container-table, element-collection, nested embeddables, and embeddable relationships.

        A separate roadmap task was created to do the documentation updates, since they will be a significant amount of work - new elements and attributes must be documented and the new schemas must be formatted for docbook.

        Show
        Jeremy Bauer added a comment - With the completion of this item in iteration1, OpenJPA: 1) Includes the 10/31 version of the persistence_2_0.xsd and orm_2_0.xsd The spec draft of persistence_2_0.xsd does not have the proper version attribute. This prohibited the use of the 2.0 persistence xsd. The xsd version attribute is fixed the schema included in OpenJPA. 2) Will validate using the new schemas provided the version is specified in the corresponding xml document. This allows specification of new iteration 1 metadata content to be specified in the orm.xml. For example, container-table, element-collection, nested embeddables, and embeddable relationships. A separate roadmap task was created to do the documentation updates, since they will be a significant amount of work - new elements and attributes must be documented and the new schemas must be formatted for docbook.

          People

          • Assignee:
            Jeremy Bauer
            Reporter:
            Jeremy Bauer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development