JDO
  1. JDO
  2. JDO-288

Update DTD, XSD, and FetchPlan.java for fetch plan updates

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JDO 2 beta
    • Fix Version/s: JDO 2 rc1
    • Component/s: api
    • Labels:
      None

      Description

      The latest spec calls for changes to the metadata regarding fetch groups. The fetch-depth attribute of field has been removed, replaced with the recursion-depth attribute. Additionally, the FetchPlan interface has been changed by adding several methods: get/setDetachmentRoots, get/setDetachmentRootClasses, get/setMaxFetchDepth

      1. patch.txt
        4 kB
        Andy Jefferson

        Activity

        Craig L Russell created issue -
        Hide
        Andy Jefferson added a comment -

        Hi Craig,
        JPOX CVS (nightly build 06/02/2006 onwards) now has stubs for these methods, so you should be able to add them to Apache JDO with no fear of breaking the link with JPOX.

        Show
        Andy Jefferson added a comment - Hi Craig, JPOX CVS (nightly build 06/02/2006 onwards) now has stubs for these methods, so you should be able to add them to Apache JDO with no fear of breaking the link with JPOX.
        Hide
        Andy Jefferson added a comment -

        Patch for updates to api20/src/java/javax/jdo/FetchPlan.java, api20/src/dtd/javax/jdo/jdo.dtd, api20/src/dtd/javax/jdo/jdo.xsd

        Show
        Andy Jefferson added a comment - Patch for updates to api20/src/java/javax/jdo/FetchPlan.java, api20/src/dtd/javax/jdo/jdo.dtd, api20/src/dtd/javax/jdo/jdo.xsd
        Andy Jefferson made changes -
        Field Original Value New Value
        Attachment patch.txt [ 12322987 ]
        Hide
        Michael Bouschen added a comment -

        Hi Andy,

        the patch looks good to me. Does the latest JPOX version already implement the new FetchPlan methods? I could check in the changesin case there are no objections.

        Regards Michael

        Show
        Michael Bouschen added a comment - Hi Andy, the patch looks good to me. Does the latest JPOX version already implement the new FetchPlan methods? I could check in the changesin case there are no objections. Regards Michael
        Hide
        Andy Jefferson added a comment -

        Hi Michael,
        JPOX CVS has those methods. Check in at will. The latest downloadable JPOX nightly build has an error in the scope of some of the methods - which is fixed in CVS and will be in next build 16/02/2006 or later.

        Show
        Andy Jefferson added a comment - Hi Michael, JPOX CVS has those methods. Check in at will. The latest downloadable JPOX nightly build has an error in the scope of some of the methods - which is fixed in CVS and will be in next build 16/02/2006 or later.
        Hide
        Craig L Russell added a comment -

        Changes look good. I've committed them.

        svn commit -m "JDO-288 update dtd, xsd, FetchPlan for spec changes" src/java/javax/jdo/FetchPlan.java src/dtd/javax/jdo/jdo.dtd src/dtd/javax/jdo/jdo.xsd
        Sending src/dtd/javax/jdo/jdo.dtd
        Sending src/dtd/javax/jdo/jdo.xsd
        Sending src/java/javax/jdo/FetchPlan.java
        Transmitting file data ...

        Committed revision 378143.

        Show
        Craig L Russell added a comment - Changes look good. I've committed them. svn commit -m " JDO-288 update dtd, xsd, FetchPlan for spec changes" src/java/javax/jdo/FetchPlan.java src/dtd/javax/jdo/jdo.dtd src/dtd/javax/jdo/jdo.xsd Sending src/dtd/javax/jdo/jdo.dtd Sending src/dtd/javax/jdo/jdo.xsd Sending src/java/javax/jdo/FetchPlan.java Transmitting file data ... Committed revision 378143.
        Craig L Russell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        14d 32m 1 Craig L Russell 17/Feb/06 11:59
        Resolved Resolved Closed Closed
        1577d 23h 8m 1 Andy Jefferson 14/Jun/10 12:07

          People

          • Assignee:
            Craig L Russell
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development