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

        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.
        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
        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 -

        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
        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.

          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