[Opensource] escapeHandler for hsql?

larry hamel expresso at codeguild.com
Wed Nov 20 14:16:29 PST 2002


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?

larry 




More information about the Opensource mailing list