Making a BMT transaction
Get a UserTransaction reference from your EJBContext.
context.getUserTransaction()
Start the transaction.
ut.begin()
End the transaction (commit or rollback).
ut.commit() ut.rollback()
Get Head First EJB now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.