Hello all Just some few questions about OJB I am triying the Broker and the ODMG api When we want to update an object from both apis :
For the broker we have to use broker.update(Object object) method. For the ODMG API this is done using the transaction API : tx.begin() // do ur updates tx.commit() // rollback if exceptions As I've read the OJB API use an object cache in order to serve the client application more quickly. If two thread query the broker (this is the same for ODMG API) the API get the object from cache, so the two threads have the same reference on the object. The first thread have just updated some fields of its object and have just called the update method on the broker ... what happens if the second thread update some field while the first is in the broker.update method ? Can this occurs in the ODMG API ? -- Kevin Viet <[EMAIL PROTECTED]> ActiVia Networks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
