I have one session bean and two BMP entities:
void SessionMethod(...)
{
...
BMPEntity_A.create(...) // 1.
...
throw new EJBException("test exception") //2
....
BMPEntity_B.setAttr(...) //3
}
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?
thx!
::tyler
Just found it!.
An explicit COMMIT in a stored procedure. Sorry folks!
::tyler