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

From Andrew Lindesay
Subject Re: LIKE and ESCAPING in JDBC Select Statement
Date
Msg-id 93B5DCBA-EEF1-4438-B7C8-A15C751235DE@lindesay.co.nz
Whole thread Raw
In response to Re: LIKE and ESCAPING in JDBC Select Statement  (Kris Jurka <books@ejurka.com>)
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Object types and ResultSets (java.sql.Struct)
Next
From: Sven Hafner
Date:
Subject: Is there a schema parameter for the jdbc URL ?