The following stmt works on mysql but not on H2 Database
insert into XXX(content) select convert('{ "text" : "testsee", "url" : "http://hjh.com", "phone" : "" }', BINARY) as content from ...
SQL State : 90003 Error Code : 90003 Message : Hexadecimal string with odd number of characters: "{ ""text"" : ""testsee"", ""url"" : ""http://hjh.com"", ""phone"" : """" }"; SQL statement: Can anyone tell me how can i fix this issue? content column is of type blob. This is a spring boot microservice where tests run on H2. The stmt is written in puresql, and executed by flyway during start up.