Updated to use JTA 1.2 spec