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 and Multi-Threading

JDBC and Multi-Threading

From: Gerald Anleitner <ga_at_phil.uni-passau.de>
Date: Sat, 18 Dec 1999 20:41:17 +0100
Message-ID: <385be3bd@news.rz.uni-passau.de>


hi.
oracle documentation says:
"The Oracle JDBC drivers provide full support for programs that use multiple threads. The following example program uses the default Oracle employee database emp. The program creates a number of threads. Each thread opens a connection and sends a query to the database for the contents of the emp table."

Not too much on threading. How is it if I only open ONE connection and then each thread creates its own statement-object from this connection. is this thread-safe as well?
does anybody have any experience on this?

thanks & bye,
gerald Received on Sat Dec 18 1999 - 13:41:17 CST

Original text of this message

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