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 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 admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists% 40mac.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to