JDBC

From: Michael Welter <mike(at)introspect(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: JDBC
Date: 2002-02-16 23:34:03
Message-ID: 3C6EEC6B.3080806@introspect.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

I'm trying to use JDBC to extract data from a ResultSet. Everything
works fine except for columns defined as arrays. The JDBC array type
names are preceded by a "_" (_text, _float8, _date, _timestampz, etc.)

The exception I get is "Class names may not have _ in them. You supplied
{0}". This is with conn.addDataType( "_text","org.postgres.PGobject" );

I'm using Postgres 7.2. I wasn't able to compile with j2sdk1.4 so I had
to drop back to jdk1.3.

Does pg JDBC come with data handlers for arrays? Is anyone else using
arrays with JDBC?

Thanks for your help.
Mike

Responses

  • Re: JDBC at 2002-02-17 00:56:10 from Barry Lind

Browse pgsql-general by date

  From Date Subject
Next Message Mark & Candice White 2002-02-16 23:41:44 search array field?
Previous Message Done 2002-02-16 23:21:30 What about libpq-fe.h ?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-02-17 00:56:10 Re: JDBC
Previous Message Barry Lind 2002-02-16 22:10:13 Re: example of using java to fetch from a result set returned from a plpgsql function (in 7.2)