could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.DataException:

向mysql插入数据时出现错误
原因:mysql表里的字段太短:Varchar(11),把它改大一点就好了

猜你喜欢

转载自blog.csdn.net/csdnerM/article/details/117958907