If I have an Exception with an @ApplicationException(inherited = true, rollback = true) but I want a subclass to not rollback. Can I just annotate the subclass with @ApplciationException(rollback = false)? Or will that not work? The spec doesn’t seem to say, that I could find.
If I have an Exception with an @ApplicationException(inherited = true, rollback = true) but
Share
The EJB 3.1 spec (JSR 318) does explain this in section 14.2.1. There is an example: