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- Oracle thread problem

JDBC- Oracle thread problem

From: T.A.V. <tav_at_sj.bigger.net>
Date: Wed, 27 May 1998 06:01:40 -0700
Message-ID: <356C0EB4.29428748@sj.bigger.net>


I 'm using JDBC-Oracle thin driver on Widows NT with Personal Oracle v7.0. I tried to create more than 1 statement for the same connection and run them concurrently. That means , I have 10 threads running concurrently. All use the same connection and each creates its own statement. However, I find out that it randomly gives me error such as "INvalid SQL statement" , or "SQL not properly ended". I turned on debugging in Jdbc driver by using DriverManager.setLogStream(...). In my log file, it shows Oracle receives my correct SQL statement, but somehow, it then fills in some garbage characters. As a result, it fails with such error.

My question is: Does anyone know that Oracle thin driver supports multi-threads (ie. does it allow multiple statements on the same connection running concurrently?) ?

Many thanks in advance.

Bob. Received on Wed May 27 1998 - 08:01:40 CDT

Original text of this message

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