pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fatih cenesiz <Fatih.Cenesiz@unilever.com>
To: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
Subject: setBytes() does not work
Date: Fri, 5 Jan 2001 15:17:15 +0200
Message-ID: <ISSMTP.2000_38_.20010105151715.134C@unilever.com> (raw)

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.




view thread (2+ messages)  latest in thread

Message-ID: <ISSMTP.2000_38_.20010105151715.134C@unilever.com>
Permalink:  ../ISSMTP.2000_38_.20010105151715.134C@unilever.com/
Also on:    postgresql.org/message-id/ISSMTP.2000_38_.20010105151715.134C@unilever.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: Fatih.Cenesiz@unilever.com
  Subject: Re: setBytes() does not work
  In-Reply-To: <ISSMTP.2000_38_.20010105151715.134C@unilever.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