nested exception is java.sql.SQLException: Unknown type '246 in column 1 of 3 in binary-encoded result
进行数据库(mysql5.0)查询时出现如下异常:nestedexceptionisjava.sql.SQLException:Unknowntype'246incolumn 1of 3inbinary-encodedresultset.之所以这里又重申了一下,是因为网上说:"当Mysql5.0表数据类型设计为DECIMAL时,在spring,hibernate项目运行会出现246错误: "