Fixed up JTA integration