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
The error is as above, the solution:
Change the encoding of the table, the sql code is as follows:
The change field encoding is as follows:
The modified version is as follows:
|