Is the Connection class thread save
Posted by: Jens Köcke
Date: March 05, 2005 04:48AM


as stated in the subject im wondering if I can share one Connection between different threads.
I'm currently writing a server and I would like to connect to the database only once and then just create a new Statement for every client that connects to my server (which starts a new thread).

Is that possible or do I have to establish a new Connection every time a client connects?


Options: ReplyQuote

Written By
Is the Connection class thread save
March 05, 2005 04:48AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.