[JIRA] Created: (CAY-688) Change signatures of ObjectContext.deleteObject/registerNewObject/localObject to take Object instead of Persistent as an argument

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Wed Oct 11 2006 - 23:09:31 EDT

  • Next message: Kevin Menard: "Re: [ANN] Cayenne 2.0.1 released"

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

             Key: CAY-688
             URL: http://issues.apache.org/cayenne/browse/CAY-688
         Project: Cayenne
            Type: Task

      Components: Cayenne Core Library
        Versions: 3.0
        Reporter: Andrus Adamchik
     Assigned to: Andrus Adamchik
        Priority: Minor
         Fix For: 3.0

    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.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Wed Oct 11 2006 - 23:10:14 EDT