pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Welter <mike@introspect.com>
To: pgsql-general@postgresql.org
Subject: JDBC
Date: Sat, 16 Feb 2002 16:34:03 -0700
Message-ID: <3C6EEC6B.3080806@introspect.com> (raw)

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








view thread (25+ messages)  latest in thread

Message-ID: <3C6EEC6B.3080806@introspect.com>
Permalink:  ../3C6EEC6B.3080806@introspect.com/
Also on:    postgresql.org/message-id/3C6EEC6B.3080806@introspect.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mike@introspect.com, pgsql-general@postgresql.org
  Subject: Re: JDBC
  In-Reply-To: <3C6EEC6B.3080806@introspect.com>
  References: <3C6EEC6B.3080806@introspect.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox