Re: Transacton handling in BMP?
Monday, May 13, 2002 05:43 AM
neo, I am guessing here that you want to handle your own transactions from BMP Entity EJB, right? if so, first tell the container that you want to do that in the deployment descriptor. in the code, whenever you want to start a transaction, get the UserTransaction object from the context, ctx.getUserTransaction(), call begin(), do the work then call commit() or rollback() depending on the success of what you tried to do.