How to escape backslash in an insert statement
You are viewing an old version of this question. View
the current version here.
The most recent Stable (GA) release of MariaDB Connector/J is:
MariaDB Connector/J 3.5.2
Answer Answered by Vladislav Vaintroub in this comment.
Your second variant is correct.
I can run it without any errors (assuming I have table test with varchar(10) columns "name " and "value"), and it produces the correct result with single backslash character.
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.