Received: from imo-d09.mx.aol.com (imo-d09.mx.aol.com [205.188.157.41]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA75029 for ; Wed, 9 Feb 2000 14:11:01 -0500 (EST) (envelope-from FixerRM@aol.com) From: FixerRM@aol.com Received: from FixerRM@aol.com by imo-d09.mx.aol.com (mail_out_v25.3.) id k.4d.14ad047 (9492) for ; Wed, 9 Feb 2000 14:10:21 -0500 (EST) Message-ID: <4d.14ad047.25d3159d@aol.com> Date: Wed, 9 Feb 2000 14:10:21 EST Subject: jdbc and sequences --RM To: hackers@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 4.0 for Windows 95 sub 39 I am trying to write to and access an array field in java can you give some pointers? Ex: I've created a loop of 2K entries to benchmark the db using preparedstatement in java. When i try to pass info to an array field (lvendorid int4[]) i get an error message telling me i must cast an int4 to an _int4. How do i do this from java? If possible, please show code example. R.Mann Fixerrm@aol.com