Spring.Data.UncategorizedAdoException: Hibernate flusing: could not insert: [XXX.Organization#7][SQL: INSERT INTO `Organization` (Version, Enabled, Name, TheValue, LevelCode, ParentId, Position, Id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)]; uncategorized DataException for SQL []; ErrorCode [1366]; Incorrect string value: '\xE6...' for column 'Name' at row 1 ---> MySql.Data.MySqlClient.MySqlException: Incorrect string value: '\xE6...' for column 'Name' at row 1
De fout is als hierboven, de oplossing:
Verander de codering van de tabel, de SQL-code is als volgt:
De wijzigingsveldcodering is als volgt:
De aangepaste versie is als volgt:
|