存档

12月 2021

显示总共16条中的前3条

ConcurrentModificationError (Concurrent modification during iteration: _LinkedHashMap len:0.)
发布者 : 粮油菜大市场 发布时间 : 30 Dec 2021 00:34:54
Exception has occurred.
  • ConcurrentModificationError (Concurrent modification during iteration: _LinkedHashMap len:0.)
A value of type 'Iterable<SpecialPrice?>' can't be assigned to a variable of type 'List<SpecialPrice?>?
发布者 : 粮油菜大市场 发布时间 : 25 Dec 2021 21:14:14

A value of type 'Iterable<SpecialPrice?>' can't be assigned to a variable of type 'List<SpecialPrice?>?'.
Try changing the type of the variable, or casting the right-hand type to 'List<SpecialPrice?>?'

SQLSTATE[01000]: Warning: 1265 Data truncated for column 'xx_xxx at row 1
发布者 : 粮油菜大市场 发布时间 : 23 Dec 2021 15:34:15

SQLSTATE[01000]: Warning: 1265 Data truncated for column 'xx_xxx at row 1

 

发生这样错误,一般是由于数据类型不对的,比如数据库表定义时候这个列为固定枚举值,更新时候出现其他值的时候就会报错