Re: [ojb-users] Transactions and the object cache
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-05-17 10:32:43
|
Hi Paul, > Hi, > > This may be a naive question and feel free to point me to 'the manual', > but I don't understand why the ODMG API flushes the object cache during > a commit. Questions related to caching are never 'naive' ;-) The cache is flashed for tx isolation reasons. A commited object must be removed from all caches in an OJB cluster so that other transaction (possibly running in different JVMs on different physical machines) only "see" valid data, that is data read in from the DB. hth, Thomas > > Thanks in advance, > > Paul. > Ascension Software Limited > http://www.ascensionsoftware.com > Tel: 01225 484494 > [Logo] > > [Home] > > w w w . a s c e n s i o n s o f t w a r e . c o m > |