Skip site navigation (1) Skip section navigation (2)

Re: JDBC Query bug

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 (view raw or flat)
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
> 


In response to

Responses

pgsql-interfaces by date

Next:From: Geoff HealeyDate: 2000-07-16 12:10:44
Subject: Re: more ODBC driver
Previous:From: Peter MountDate: 2000-07-16 08:35:18
Subject: Re: Clob support in jdbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group