Re: LIKE and ESCAPING in JDBC Select Statement

Поиск
Список
Период
Сортировка
От Andrew Lindesay
Тема Re: LIKE and ESCAPING in JDBC Select Statement
Дата
Msg-id 93B5DCBA-EEF1-4438-B7C8-A15C751235DE@lindesay.co.nz
обсуждение исходный текст
Ответ на Re: LIKE and ESCAPING in JDBC Select Statement  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Hi Kris;

I am very sure that was my first attempt and it didn't work yesterday, but I have now done exactly this and the
statementhas parsed.  Thanks for looking at it for me. 

cheers.

>> I am trying to use the JDBC LIKE escape clause with PG 8.4 and the PG 8.4 JDBC driver.
>> So far I have tried;
>> SELECT ... WHERE ... AND (t0.MESSAGE ILIKE ? {escape '|'}) LIMIT 50
> This works for me as attached.  Please be more clear what your problem is.


___
Andrew Lindesay
www.lindesay.co.nz


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Object types and ResultSets (java.sql.Struct)
Следующее
От: Sven Hafner
Дата:
Сообщение: Is there a schema parameter for the jdbc URL ?