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

unknown object exception in postgresql-7.1.3 jdbc driver

From: Lora Goldston <lgoldsto(at)bbn(dot)com>
To: pgsql-bugs(at)PostgreSQL(dot)org
Subject: unknown object exception in postgresql-7.1.3 jdbc driver
Date: 2001-10-15 16:23:49
Message-ID: 3BCB0D95.1090004@bbn.com (view raw or flat)
Thread:
Lists: pgsql-bugs
example query:

select '12345' as total from table or select first_name as "name" from table


In either case, the quoted strings cause an unknown object exeption in 
the postgresql-7.1.3 jdbc driver.


Adding this line of code to the ResultSet.java seems to work, although 
 I don't believe it is the best fix.

case Types.OTHER:
    return getString(columnIndex);

Lora Goldston


pgsql-bugs by date

Next:From: Tom LaneDate: 2001-10-15 17:32:31
Subject: Re: probably a bug of data-type serial
Previous:From: pgsql-bugsDate: 2001-10-15 16:22:23
Subject: Bug #482: psql (7.1.3) doesn't like sysid=0

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