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

java.sql. question

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a limit to the number of PreparedStatements I create out of a single connection? i.e., can I all the below in a loop
of say 50 and then close them all?
i.e.,
PreparedStatement stmt = conn.prepareStatement(query);
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you sort out the ResultSet?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic