sql语句异常:org.postgresql.util.PSQLException: ERROR: syntax error at or near "$1"

在开发过程中遇到这个问题:

错误说明是SQL语句异常,贴出SQL语句异常处:

通过发现是数据转换异常(例如:Integer和String间转换异常) ,解决方法如下,将#改成$,$可转换成数值类型

发布了69 篇原创文章 · 获赞 253 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/weixin_41595700/article/details/90069535