Re: update / modify data object

From: Aristedes Maniatis (ar..aniatis.org)
Date: Sat Jul 18 2009 - 00:28:45 EDT

  • Next message: Karen Harper: "Database change detection?"

    On 18/07/09 1:39 PM, sridhar devatha wrote:
    > Thank you for the reply. sorry. ignore the line of code for local object.
    > Assume employeeDBProto is the object to be saved. It has the modified data.
    > Do I need to write the entire update query to update and populate the data
    > from the proto object into the query using expressions and velocity.

    All you need to do is commit the relevant context. Cayenne handles
    everything else for you.

    Ari Maniatis



    This archive was generated by hypermail 2.0.0 : Sat Jul 18 2009 - 00:30:59 EDT