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

Change signatures of ObjectContext.deleteObject/registerNewObject/localObject to take Object instead of Persistent as an argument

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0M1
    • Core Library
    • None

    Description

      As users will be writing their code with unenhanced POJO's, at compile time those won't implement Persistent interface. To use POJOs with ObjectContext without extra casting on the application end, we need to change the signatures of all user API methods (ObjectContext.deleteObject/registerNewObject/localObject ) o take Object instead of Persistent as an argument.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrus Andrus Adamchik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: