Or maybe another option is to make the setRollbackOnly call configurable. So for "better" JTA impls we will have the safety of the {[setRollbackOnly}} call, and then for WebLogic we can bypass it. That assumes of course that WebLogic throws the underlying exception back to you then.
|