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. 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) Won't any problem arise if thread1 change some values and thread2 is commiting the update. Why don't APIS returns value objects and not object referenced by the cache ... -- Kevin Viet <[EMAIL PROTECTED]> ActiVia Networks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
