Mysql tinyint长度为1时在java中被转化成boolean型 如果使用tinyint类型存数字,就把长度改为4 转载于:https://www.cnblogs.com/yuan951/p/10410585.html