add mybatis type resolver.