Hi,
I have a query regarding the following question from HFEJB mock exam.
Which are true about transactions in
EJB 2.0?
A Only one database can be updated within a single transaction
B Entity beans with BMT demarcation must use the setStatus method instead of the setRollbackOnly method
C Entity beans with BMT demarcation must use the getStatus method instead of the getRollbackOnly method
D BMT demarcation should be used when beans access resource managers that do not support transactions
E The 'SessionSynchronization' interface can be used only by stateful session beans
I had chosen option E.
However the correct option given are C & E
I am puzzled about C, as entity beans are not supposed to use BMT.
Can someone please explain how option C can be considered correct ?
Regards,
Paresh Vernekar