The SessionSynchronization interface is used with BMT and allows you to synchronize the instance variables with their corresponding values in the database. UaserTransaction interface on the other hand, is used with BMT and gives you the control over the transaction boundaries. You can have multiple (linear not nested) transactions starting and ending within the same method if you want, etc. This type of granularity you cannot achieve with BMT. Regards.
I think, therefore I exist -- Rene Descartes
Joined: Feb 17, 2005
Please correct this:
The SessionSynchronization interface is used with BMT
With: The SessionSynchronization interface is used with CMT Sorry...
subject: Why not usertransaction instead of SessionSynchronization in SessionBean