[Opensource] DBObjects, postgres and backslash
Vincent Gogan
vincent.gogan at goganinc.com
Tue Nov 19 06:55:47 PST 2002
Thanks, I'm working towards an upgrade. In the mean time I solved my problem
by re-implementing 'quoteIfNeeded'. This seemed to be a good way to change
the behaviour through subclassing (not changing the original signature etc.).
Vincent
-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of Michael Rimov
Sent: Friday, November 15, 2002 5:49 PM
To: opensource at jcorporate.com
Subject: Re: [Opensource] DBObjects, postgres and backslash
At 10:40 AM 11/15/2002 -0500, you wrote:
>I'll preface my question with the fact that I am still using 4.02 until things
>are stable (in my application). If this is solved in 5, just let me know.
It is... Backslashes and single quotes will get stored properly in the
database.
If you cannot upgrade, check out the code for
com.jcorporate.expresso.core.db.DefaultEscapeHandler
It's about 5 lines, so you could always apply it to your controller code if
you need some specific filtering.
HTH,
-Mike
_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list