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.