Bug #4279 | SQL exception when the data is \'{{} | ||
---|---|---|---|
Submitted: | 24 Jun 2004 21:08 | Modified: | 28 Mar 2014 14:06 |
Reporter: | yusang kwan | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | OS: | Linux (Linux) | |
Assigned to: | Alexander Soklakov | CPU Architecture: | Any |
[24 Jun 2004 21:08]
yusang kwan
[24 Jun 2004 22:41]
Mark Matthews
Two things you should be aware of. First, the escape processing in Connector/J 3.0.11 and newer is better, so that might fix it. In any case, '{' is a _reserved_ character in JDBC unless is is _inside_ a '' sequence, so you need to escape it with '\', or alternatively turn off escape processing altogether by calling .setEscapeProcessing(false) on the statement in question.
[28 Mar 2014 14:06]
Alexander Soklakov
I close this report as "Can't repeat" because there is no feedback for a long time and codebase is too old. Please, feel free to reopen it if the problem still exists in current driver.