问题一:
<select id="" parameterType="map" resultType="">
select * from 表 where id = #{id} and name = #{name}
</select>
查询不到数据,但是数据库中有对应的数据.
结果是
<property name="url" value="jdbc:mysql://localhost:3306/test"/>中没有配置useUnicode=true&characterEncoding=UTF-8
全路径为
<property name="url" value="jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8"/>