in reply to Re: regexp question
in thread regexp question

I believe #3 is the correct way.

Replies are listed 'Best First'.
Re^3: regexp question
by ikegami (Patriarch) on Jan 29, 2011 at 18:21 UTC
    No, it's a lot of needless work.

      I think I know that now, thanks to Anonymous Monk. I will be using "prepared statements" in Java to load the SQL. As I understand it, then one does not have to encode text for insertion.

      Aren't I on the right track then Ikegami?

      I thought this link might be helpful for others:   Prepared SQL statements in Java

        Yes, but it's not "prepared" part that's important here, it's the placeholders ("?"). See the do above, for example.