From: | "Peter Mount" <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | "Matt Fair" <matt(at)netasol(dot)com>, <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | Re: JDBC Query bug |
Date: | 2000-07-16 08:36:16 |
Message-ID: | 008a01bfef01$398b4ee0$5f3429d4@retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Probably the backend. What do you get if you run this query from psql?
JDBC currently does nothing to the SQL before passing it to the backend.
Peter
--
Peter T Mount peter(at)retep(dot)org(dot)uk, peter(at)retepdigital(dot)com, me(at)petermount(dot)com
Homepage: http://www.retep.org.uk Contact details @ http://petermount.com
PostgreSQL JDBC: http://www.retep.org.uk/postgres/
Java PDF generator: http://www.retep.org.uk/pdf/
----- Original Message -----
From: Matt Fair <matt(at)netasol(dot)com>
To: <pgsql-interfaces(at)postgreSQL(dot)org>
Sent: Saturday, July 15, 2000 7:09 PM
Subject: [INTERFACES] JDBC Query bug
> This jdbc is messing up on basic select/where queries. For example:
> SELECT usename FROM pg_user WHERE usename ~* 'star_.*';
>
> usename
> ---------
> star_admin
>
> But in jdbc I do:
>
> SELECT usename FROM pg_user WHERE usename ~* 'star_.*';
>
> I get an empty result set.
> rs.next() is false.
>
> What would be causing this?
> Matt
>
From | Date | Subject | |
---|---|---|---|
Next Message | Geoff Healey | 2000-07-16 12:10:44 | Re: more ODBC driver |
Previous Message | Peter Mount | 2000-07-16 08:35:18 | Re: Clob support in jdbc |