如何在没有resultMap的情况下将TypeHandler添加到给定的mapper.xml中,如下所示。
<select id="selectUsers" resultType="User">
select
uid as "id",
user_name as "userName"
from some_table
where id = #{id}
</select>我想在user_name专栏中使用一些typeHandler。
发布于 2017-07-20 08:15:34
很可能,没有办法满足您的请求。我认为在这种情况下应该用到你。你为什么不使用?
https://stackoverflow.com/questions/44968218
复制相似问题