问题:使用mybatisplus向数据库插入数据时,后台报了如下错误:
Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 操作数类型冲突: varbinary 与 text 不兼容
分析:经查发现为给后台text字段传入了null值导致报错,程序中传入的时候如果是null赋值为“”,问题解决。
参考文章:
https://www.pianshen.com/article/2806732251/
问题:使用mybatisplus向数据库插入数据时,后台报了如下错误:
Cause: com.microsoft.sqlserver.jdbc.SQLServerException: 操作数类型冲突: varbinary 与 text 不兼容
分析:经查发现为给后台text字段传入了null值导致报错,程序中传入的时候如果是null赋值为“”,问题解决。
参考文章:
https://www.pianshen.com/article/2806732251/
上一篇:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
下一篇:kettle基础概念理解
系统扩展与 macOS 不兼容
最近在写页面的时候遇到了一个问题—当行文本双端对齐,大家都知道CSS属性中有一个“text-a基乎想用空格来代替 ...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M