The documentation is a little ambiguous as to how rollback-for and no-rollback-for are applied. For example, I have MyBusinessException, and MyBusinessWarningException, which inherits from MyBusinessException. If I have rollback-for="MyBusinessException", and no-rollback-for="MyBusinessWarningException", what will happen when a MyBusinessWarningException is thrown? Will it be rolled back because its an instance of MyBusinessException, or will it be committed because its an instance of MyBusinessWarningException? Even if the behavior is undefined, and hence shouldn't be relied upon, I think this should be stated in the documentation.
Announcement Announcement Module
No announcement yet.
Rollback rules are a little ambiguous Page Title Module
Move Remove Collapse