Mybatis的TypeHandler的一个坑

有一个需求是自动扫描项目中的枚举类,而后注册枚举处理器,碰见了这个问题:枚举也都扫描到了,也注册到configuration当中去了,可是,查询的时候仍是报错了!html mapper.xml:java <resultMap id="PersonMap" type="Person"> <id column="id" property="id"/> <result column="name"
相关文章
相关标签/搜索