Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: general
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      387

      Description

      I would like to deprecate Item.save(), or at least allow an implementation to not have it, and just keep
      Session.save().

      Item.save() is very costly to implement (as many more things have to be kept track of), and no concrete
      use cases have been presented.

        Issue Links

          Activity

          Hide
          stefan_guggisberg added a comment -

          resolved as fixed as per F2F decision in Basel, Sept 07:

          fix as proposed

          Show
          stefan_guggisberg added a comment - resolved as fixed as per F2F decision in Basel, Sept 07: fix as proposed
          Hide
          fguillaume added a comment -

          Reopening as the spec still needs to be updated.

          Show
          fguillaume added a comment - Reopening as the spec still needs to be updated.
          Hide
          fguillaume added a comment -

          This is still an issue in RC17.

          A note has already been added in § 7.1.2.1:
          > The JCR 1.0 method Item.save has been deprecated.

          But the interface itself in java/javax/jcr/Item.java has not yet been marked @deprecated.

          Show
          fguillaume added a comment - This is still an issue in RC17. A note has already been added in § 7.1.2.1: > The JCR 1.0 method Item.save has been deprecated. But the interface itself in java/javax/jcr/Item.java has not yet been marked @deprecated.
          Hide
          Peeter Piegaze added a comment -

          Fixed. Item.save() has been marked as deprecated in the source.

          Show
          Peeter Piegaze added a comment - Fixed. Item.save() has been marked as deprecated in the source.

            People

            • Assignee:
              jsr-283-issues
              Reporter:
              fguillaume
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: