A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
connection thread safe
Joined: Feb 27, 2002
Aug 03, 2003 04:27:00
connection thread safe ?
When a connection is shared by many threads on problem I see is the transaction isolation level.
Any other problems ? Would like to hear them.
Joined: Mar 06, 2001
Aug 03, 2003 12:42:00
the Connection class is not thread save.
Don't use it. How would you maintain
transactions over multiple threads with only one Connection?
Makes your code only more complicated.
[ August 03, 2003: Message edited by: Taudo Wenzel ]
I agree. Here's the link:
subject: connection thread safe
question from the jweb+
DSRA9110E Connection is closed
vetor thread safe?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014