Hello All,
I have two questions regarding transactions:
1. When inplementing SessionSynchronization for Sesion Beans, the callback method "beforeCompletion()" is said to run before the end of the transaction -after the business method end- OK.
It is said that in that method you can update the database before end of transaction, but how could I know whether the transaction will commit or rollbact while this methods runs before the end of transaction?
In other words, if I updated the DB and then the transaction rollback then how could I return the old value of the db?
2.I do not understand why Message Driven Beans can use only 2 attributes only (Required or NotSupported)?
more clarification needed for why the other attributes are not needed.
Thank you in advance
