Thanks for your quick response. It seems like we have two options: - Create a context per writeable action (otherwise we could not retrieve an object, updated and save exactly when we want, in other words, when the obj is in a consistent state) - Create a DTO layer and have for instance one context per session. The most flexible option so far.
I have heard there is something related to POJOs in Cayenne, Could I have more information regarding this point (I've tried but no much info on this)? Thanks a lot -- View this message in context: http://cayenne.195.n3.nabble.com/commit-all-objects-temporary-objects-POJO-s-DTO-tp2870230p2870619.html Sent from the Cayenne - User mailing list archive at Nabble.com.