adapt for mybatis 3.2.8