I have one session bean and two BMP entities:
BMPEntity_A.create(...) // 1.
throw new EJBException("test exception") //2
I was testing the transactional capabilities of my app. when I discover that it wasn't working :-( . In the previous block of code the row inserted on BMPEntity_A is not rollbacked when the exception occurs. All the EJBs have the "Required" transaction type, I have configured JBoss according to the documentation... what I'm missing?
Just found it!.
An explicit COMMIT in a stored procedure. Sorry folks!