cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Дробеня Илья <>
Subject Re: Add ActiveRecord support to Cayenne
Date Wed, 19 Dec 2012 20:07:31 GMT
2012/12/19 Michael Gentry <>

> One of the dangers of having delete/save/update

Update method do not needed, delete method is useful - because it remove
entity from context.
And instead of save method - we may create methods - seems like
commitContext, rollbackContext.

Also we may create it in "Role" for example, or we may create static class
for example "Cayenne" or move its to "AnythingMap".

Role curRole = Role.newInstance();


What do you think?

С уважением, Илья Дробеня.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message