Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
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
Special Character Handling
Threads and Waiting for DB connection
Q: repeatedly execute() on PreparedStatement without close()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015