Received: from introspect.com ([205.168.177.146]) by postgresql.org (8.11.3/8.11.4) with SMTP id g1GNYNE39248 for ; Sat, 16 Feb 2002 18:34:23 -0500 (EST) (envelope-from mike@introspect.com) Received: (qmail 8812 invoked from network); 16 Feb 2002 23:31:13 -0000 Received: from unknown (HELO introspect.com) (192.168.2.35) by 192.168.1.2 with SMTP; 16 Feb 2002 23:31:13 -0000 Message-ID: <3C6EEC6B.3080806@introspect.com> Date: Sat, 16 Feb 2002 16:34:03 -0700 From: Michael Welter Organization: Introspect Consulting, Inc. User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: JDBC Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200202/596 X-Sequence-Number: 20622 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