I use the ODMG api in a web application. I thought I had read here on the email list that the cache was used within a transaction but that it was cleared after the transaction ended. But I found that some of my dropdown boxes were not being updated because they were being pulled from the cache, eventhough they were being retreived within a separate transaction. This was unexpected.
So I switched to using the ObjectCacheEmptyImpl until I understood caching better. But *even* *then* I found that objects were not always refreshed from the database. This was *totally* unexpected.
I finally had to put a broker.clearCache() just after opening my transactions in order to guarantee that I actually pulled from the database.
Clearly, I'm not doing or understanding something properly. I've read the cache html docs, but perhaps someone could talk about the cache and how to work with it successfully.
Thanks, Will
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
