Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f06KYA702973 for ; Sat, 6 Jan 2001 15:34:10 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from mailout01.unilever.com (mailout01.unilever.com [194.120.163.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f05DIH798901 for ; Fri, 5 Jan 2001 08:18:18 -0500 (EST) (envelope-from Fatih.Cenesiz@unilever.com) Received: from bootes.hh.u2378.unilever.com (root@bootes.hh.u2378.unilever.com [193.26.81.30]) by mailout01.unilever.com (8.9.1a/8.9.1) with ESMTP id OAA15657 for ; Fri, 5 Jan 2001 14:18:37 +0100 (MET) Received: from ist-001.ho.u2638.unilever.com by bootes.hh.u2378.unilever.com with ESMTP for pgsql-interfaces@postgresql.org; Fri, 5 Jan 2001 14:18:31 +0100 Received: from [145.17.111.242] by ist-001.ho.u2638.unilever.com with ESMTP for pgsql-interfaces@postgresql.org; Fri, 5 Jan 2001 15:17:42 +0200 Date: Fri, 5 Jan 2001 15:17:15 +0200 From: "fatih cenesiz" Subject: setBytes() does not work To: "pgsql-interfaces@postgresql.org" Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Language: tr-TUR X-Archive-Number: 200101/60 X-Sequence-Number: 669 hi, I am new at JDBC applications. I try to insert a byte array into Oracle database. I use WinNT 4.0 Workstation. sun.jdbc.odbc.JdbcOdbcDriver Personal Oracle 8.x I define a field in Oracle table as RAW and try to insert a byte array in it. I use PreparedStatement class. When I use setBytes(parameterid, bytearray) method I get SQLException [ODBC][ORACLE] error. What do I do. Do I change the JDBC driver.