cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: lazy loading (slightly OT but still pretty important)
Date Fri, 30 Mar 2012 14:55:16 GMT

On Mar 30, 2012, at 5:37 PM, Durchholz, Joachim wrote:

>> You have to inflate your cache anew from DB in every transaction.
>> You don't have any data when you start.
> Sure, that's unavoidable if you want to do optimistic locking.

You can do optimistic locking with cached data just as well. It doesn't have to come from
the same transaction as your update. That's the whole point of it.


View raw message