Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1288

Add deleteObjects() to ObjectContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0M6
    • 3.0 beta 1, 3.0
    • Core Library
    • None
    • All

    Description

      DataContext has a deleteObjects() method, but ObjectContext doesn't.

      The documentation shows using deleteObjects:

      http://cayenne.apache.org/doc/deleting-objects.html

      This is more of a hassle when using cayenneObject.getObjectContext().delete... instead of cayenneObject.getDataContext() because getDataContext() is deprecated in 3.0.

      Attachments

        Activity

          People

            blacknext Michael Gentry
            blacknext Michael Gentry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: