I am feeding strings into PostgreSQL, strings which need to be surrounded in the SQL by single quotes. But there is a headache if the string has a single quote in it, of course. And the backslash character needs special attention, and maybe a few more characters too.
My question: Does the JDK come with a utility method which I can feed my Strings through, which will escape the characters that need escaping?
Thanks, Rich
_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org
