Java PreparedStatement(ResultSet) closing for no reason
<p>I am using PreparedStatements[] to do SQL in my app(JAVA).However, for some reason, some of the statements I can call more than once, like my checkLoginDetails() method. But some others,when I try to call more than once, says connection closed:(. Please can someone tell me why it is doing this, and how to fix.</p>

<p>Thanks alot</p>
