Re: LIKE and ESCAPING in JDBC Select Statement - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: LIKE and ESCAPING in JDBC Select Statement
Date
Msg-id alpine.BSO.2.00.1001291616340.31378@leary.csoft.net
Whole thread Raw
In response to LIKE and ESCAPING in JDBC Select Statement  (Andrew Lindesay <apl@lindesay.co.nz>)
Responses Re: LIKE and ESCAPING in JDBC Select Statement  (Andrew Lindesay <apl@lindesay.co.nz>)
List pgsql-jdbc

On Sat, 30 Jan 2010, Andrew Lindesay wrote:

> 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.

Kris Jurka

Attachment

pgsql-jdbc by date:

Previous
From: Andrew Lindesay
Date:
Subject: LIKE and ESCAPING in JDBC Select Statement
Next
From: Kris Jurka
Date:
Subject: Re: ParameterMetaData getPrecision() always zero?