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

Reply via email to