File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Joined: Jun 11, 2002
Sep 01, 2003 05:59:00
Can i use same java.sql.Statement object for executing more than one queries at a time. If not please tell me why.
Joined: Apr 26, 2003
Sep 01, 2003 06:22:00
s we can excucute, there is no problem.
"Unwise to sweat petty stuff, wise to pet sweaty stuff."
Joined: Feb 28, 2003
Sep 02, 2003 21:05:00
If by "at the same time" you mean concurrently from different Threads, I'm going to have to say NO WAY.
I agree. Here's the link:
subject: reuse java.sql.Statement
Q: repeatedly execute() on PreparedStatement without close()
Special Character Handling
Threads and Waiting for DB connection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014