JDO
  1. JDO
  2. JDO-622

@Order is missing an "extensions" property so that it mirrors what is specifiable in XML

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JDO 2 maintenance release 2 (2.2)
    • Fix Version/s: JDO 3 (3.0)
    • Component/s: api
    • Labels:
      None

      Description

      The DTD specifies

      <!ELEMENT order (extension*, column*, index?, extension*)>
      <!ATTLIST order column CDATA #IMPLIED>
      <!ATTLIST order mapped-by CDATA #IMPLIED>

      yet the annotation is

      public @interface Order
      {
      /** The name of the column to use for ordering the elements of the member.

      • @return the name of the ordering column
        */
        String column() default "";

      /** Name of a field or property in the target class that acts as the

      • ordering field or property for this member.
      • Return the name of the field or property in the target class
        */
        String mappedBy() default "";

      /** The definition of the column(s) to use for ordering.

      • @return the columns to use for ordering
        */
        Column[] columns() default {};
        }

      so for correctness we should have "extensions" as a property

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andy Jefferson
            Reporter:
            Andy Jefferson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development