cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: update / modify data object
Date Sat, 18 Jul 2009 04:28:45 GMT
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

Mime
View raw message