It's been a while, but should any exception thrown out of a session bean method cause a rollback of any entity updates in that method, or just the EJBException?
For example, I have a method that is throwing CreateExceptions and EJBExceptions. If the CreateException is thrown, the entities created up to that point are stored in the database. If I throw an EJBException, the entities are all rollbacked/removed.
Is this correct behavior? It's been a while since I've done and EJB programming, but I thought it was any exception thrown out of a session bean method. If it is, there's a bug in JBoss 3.2. (Otherwise, there's a bug in my code!)