What is the proper way to insure a text string (i.e. one read from aJTextField.getText()) is propery escaped? I assumed the JDBC driver woulddo this automatically, but it does not. An ' character will cause theJDBC driver to throw an exception.