I am using \'?\' in my query and setting string parameter in the prepared statement. This usually works for me in insert statements and select statements for other tables, b