Transaction.canCommit() method must throws ITSE if transaction is not in prepared state