| От | JavaNoobie |
|---|---|
| Тема | Re: how to Escape single quotes with PreparedStatment |
| Дата | |
| Msg-id | 1314000874022-4722528.post@n5.nabble.com обсуждение |
| Ответ на | Re: how to Escape single quotes with PreparedStatment ("ml-tb" <ml-tb@emagixx.de>) |
| Ответы |
Re: how to Escape single quotes with PreparedStatment
|
| Список | pgsql-jdbc |
Hi,
I tried that example but it threw an error as follows.
org.postgresql.util.PSQLException: ERROR: syntax error at or near "%"
Position: 158
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
Why could this be happening?
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/how-to-Escape-single-quotes-with-PreparedStatment-tp4718287p4722528.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера