Hello James;
Is there a simple Java command that will escape my string for a raw
sql statement?
AFAIK, if you use a JDBC "PreparedStatement", this happens
automatically, otherwise you have to do it yourself. Would love to
hear news to the contrary!
cheers.
___
Andrew Lindesay
www.lind
I had solved my issue already with some simple regex, but this
Formatter is a very nice
addition as I will solve a small issue I was having with text being
sent as HTML Email
and not holding the formatting. I hadn't gotten around to addressing
it and was going to
use the opportunity to integr
Hi, James,
Take a look at TextDisplayFormatter.java by Jonathon Rochkind:
http://www.wodeveloper.com/omniLists/webobjects-dev/2001/May/
msg00252.html
Regards,
Jerry
On Mar 23, 2006, at 9:02 AM, James Cicenia wrote:
It's early ...
Is there a simple Java command that will escape my str
James,
IIRC there is a class named StringEscapeUtils that escapes strings
for most any purpose in the jakarta commons lang project.
Regards, Kieran
On Mar 23, 2006, at 9:02 AM, James Cicenia wrote:
It's early ...
Is there a simple Java command that will escape my string for a raw
sql st
It's early ...
Is there a simple Java command that will escape my string for a raw
sql statement?
Basically I need to escape single quotes for sure... maybe others? Or
do I have to manually parse the string?
Thanks
James Cicenia
___
Do not post