What do you mean by << improved cache for the ODMG and JDO layer >>, 



Le lun 14/10/2002 � 21:36, Thomas Mahler a �crit :
> Hi Kevin,
> 
> Kevin Viet wrote:
> > When I query an OJB API (ODMG or PersistentBroker) for a persistent
> > object, the API returns the object I want.
> > 
> > If two threads query the API for this object, they share the same
> > reference on this object.
> 
> correct.
> 
> > 
> > So if a thread change a value (without update the object through the
> > API) of the object, the other thread will see this change (even for the
> > object cache) 
> 
> correct for PB API. For ODMG we have a pessimistic locking that will 
> protect against such conflicts.
> 
> > 
> > Won't any problem arise if thread1 change some values and thread2 is
> > commiting the update.
> 
> correct
> 
> > Why don't APIS returns value objects and not object referenced by the
> > cache ... 
> > 
> 
> We have decided to change this behaviour! We will have caches per broker 
> and an improved cache for the ODMG and JDO layers.
> 
> cheers,
> Thomas
> 
> > 
> > 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
Kevin Viet <[EMAIL PROTECTED]>
ActiVia Networks




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to