change EntityTransactionAdapter to ConnectionTransactionAdapter