fix executing error for transaction-xa-eample  (#196)

* throw exception when insert error

* fix address_id not exist error for transaction-raw-xa

* use jdbcTemplate to simplify transaction example for XA
2 files changed