Is there a way to configure the Transaction manager or JBoss CMP to persist beans when they change instead of at the end of a transaction?
I have two threads running that need access to the same database row. One thread creates the row and another concurrenlty running thread must read the row. I need for one bean to be able to do a "dirty-read" on the database.
I would appreciate any suggestions.
Thank you.
AFAIK, no.
Bean's state is synced at the end of tx, after create, remove and finder execution.