m0_64977159 2023-01-27 18:17 采纳率: 100%
浏览 38
已结题

把STring类型转成blob类型存到数据库

Type handler was null on parameter mapping for property 'userImg. It was either not specified and/or could not be found for the javaType (java.sql.Blob) : jdbcType (null) combination.

The error may exist in com/example/dao/UsersDao.java (best guess)把STring类型转成blob类型存到数据库为什么会报这个错

img

  • 写回答

3条回答 默认 最新

  • johnny233 Java后端领域新星创作者 2023-01-27 19:07
    关注

    Users这个实体类的属性userImg的类型是什么?String还是Blob?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 2月4日
  • 已采纳回答 1月27日
  • 创建了问题 1月27日