mybatis对blob属性数据的处理
- 实体类对应的类型为byte[] (clob为char[])
2.resultMap中的对应的字段映射添加 typeHandler
<result jdbcType="BLOB" typeHandler="org.apache.ibatis.type.BlobTypeHandler"/>
(clob类似)
梅花香自古寒来
2.resultMap中的对应的字段映射添加 typeHandler
<result jdbcType="BLOB" typeHandler="org.apache.ibatis.type.BlobTypeHandler"/>
(clob类似)