What is the proper way to insure a text string (i.e. one read from a JTextField.getText()) is propery escaped? I assumed the JDBC driver would do this automatically, but it does not. An ' character will cause the JDBC driver to throw an exception.
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных