make after_commit compatible with activerecord-jdbc-adapter 1.2.1 and 1.2.2

no need to hack begin_db_transaction for JdbcSpec::MySQL, which is removed from activerecord-jdbc-adapter 1.2.1