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 -> Oracle , JAVA & booleans

Oracle , JAVA & booleans

From: DRICOT Jean-Michel <jdricot_at_ulb.ac.be>
Date: Thu, 09 Mar 2000 09:37:39 +0100
Message-ID: <38C762D3.22B21562@ulb.ac.be>


I'm currently porting an old program to run under ORACLE. It uses JDBC and has many boolean parameters. It seems that Oracle doesn't know about SQL's BOOLEAN datatype. How should I solve this problem ? How should I put booleans into my Oracle database using JDBC ? And retrieve them ?

My code currently has problem on parts like: SQLRequest="INSERT INTO myTable VALUES("+my_boolean+")";

*

Thanks a lot

Jim

--
Printed on 100% Recyclable Electrons !

Jean-Michel DRICOT
System Engineer
Universite Libre de Bruxelles - Ecole Polytechnique Voice : +32 2 650 37 50
E-Mail : jdricot_at_ulb.ac.be Received on Thu Mar 09 2000 - 02:37:39 CST

Original text of this message

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