JDBC requires that the JdbcType must be specified for all nullable parameters

今天,遇到了这个问题,百度了半天,说参数名写错了,或者参数为null,但参数名正确也不为null,后面才发现是写参数的时候多了个空格。如#{pd.STATE },去掉空格就好了#{pd.STATE}

猜你喜欢

转载自blog.csdn.net/Hello_Rog/article/details/81745859