java.sql.SQLException: Incorrect string value: '\ xAC \ xED \ x00 \ x05sr ...' for column 'xxxx'
A column is long text in MYSQL using the utf8 charset and utf8_general_ci commands.
What's wrong?
A bit late, but you may know that \ xAC \ xED \ x00 \ x05sr ... is the magic number for Java serialization. Apparently your parameter is serialized instead of being inserted as a string.
Assuming these are hexadecimal escape codes, the text is \xAC\xED\x00\x05sr...not a valid UTF-8 string.
\xAC\xED\x00\x05sr...
Is this used when using PreparedStatements in Groovy? If so, you are using GStrings instead of plain Java strings. Check your object, make sure your parameters are what you expect.
change the table to latin encoding or utf8mb4
ALTER TABLE your_table CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;
You can try this.
Source: https://habr.com/ru/post/1742190/More articles:Data from two tables without repeating data from the first? - mysqlHow can I use jQuery to interact with a specific div, but not in the current document - in a variable containing HTML? - jsonSymfony 1.4 change admin admin actions or patterns - generatorWhen do you tag your software project? - project-managementПроблема с url_for и именованными маршрутами в ActionMailer View: "Требуется контроллер и действие" - ruby-on-railsHow to get rid of the sensitivity list warning when synthesizing Verilog code? - verilogData Sources and NSTableView - cocoaSources of delay when sending / receiving tcp / udp packets on linux - performanceIn Visual Studio 2008, when I stop debugging the ASP Classic website, Visual Studio always resets - debuggingThe conceptual process of filling related tables in a database (MySql) from a CSV file - databaseAll Articles