Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Joel Evans   on Oct 26 In Java Category.

  
Question Answered By: Kristin Johnston   on Oct 26

i think that with one connection  you can not have more than one
statment, so if you already have a statement  state, and you want to
do another Statement/PreparedStatement then you have to close the
first state, but if your algorithm requires that you need more than
one query at the same time , then:
create two connection!

, but this is all assumed that you can't open more than one statement
in one connection.

Share: 

 
 
Didn't find what you were looking for? Find more on JMenuBar with data coming from a database source Or get search suggestion and latest updates.


Tagged: