[Opensource] escapeHandler for hsql?
Michael Rimov
rimovm at centercomp.com
Wed Nov 20 21:09:14 PST 2002
At 12:59 PM 11/20/2002 -0800, you wrote:
>using latest code, I got an error inserting a string with an apostrophe
>(') into hsql because it was escaped with a backslash instead of two
>apostrophes.
>
>in docs/hsqlSyntax.html, there is the following info:
>
>Strings in HSQLDB are Unicode strings. A string starts and ends with a
>single ' (singlequote). In a string started with ' (singlequote) use ''
>(two singlequotes) to create a ' (singlequote). a backslash is used for
>escaping other chars.
>
>switching the default expresso-config.xml to point
>to DoubleQuoteEscapeHandler.java works for me.
>
>should this be checked in, or am I missing something?
Hi Larry,
I just double-checked the WEB-INF/config/expresso-config.xml file for both
HEAD and expresso5-0-1, and both already show DoubleQuoteEscapeHandler. Is
there something that I'm missing??
Thanks!
-Mike
More information about the Opensource
mailing list