Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reuse java.sql.Statement

 
Abhijeet Gholkar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks
Can i use same java.sql.Statement object for executing more than one queries at a time. If not please tell me why.
 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
s we can excucute, there is no problem.
 
Dana Hanna
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If by "at the same time" you mean concurrently from different Threads, I'm going to have to say NO WAY.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic