Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> jdbc thin driver with NCHAR data type

jdbc thin driver with NCHAR data type

From: Peter <peters_at_fast.fujitsu.com.au>
Date: 30 Oct 1998 03:16:37 GMT
Message-ID: <01be03bd$28c9ab00$3dd2ac89@smithpb>


Hi,

We are using the "thin" driver with Oracle 8. A table is defined with NCHAR column.
The jdbc data type returned for the column is Types.OTHER (1111).

How do I set that column to NULL ?

setNull(n, Types.OTHER) 	fails "invalid data type"
setObject(n, null) 		fails "invalid data type"

I can do setNull(n, Types.CHAR) OK but why don't the others work ?

Thanks,
Peter.

PS. Please cc peters_at_fast.fujitsu.com.au Received on Thu Oct 29 1998 - 21:16:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US