Only if you are using Commit Option A.
Ok, but if I use "commit-option" to "A" I noticed that every update against a cache-object is OK on the DB but the cached object mantains the old value.
How can I obtain this in realt-time?
Commit-option "D" execute update, but not a "real-time" cached-object update ... :(
You can't. Either JBossCMP checks for new values or it doesn't.