Consider the code:
PreparedStatement ps = null; ResultSet rs = null; try { ps = conn.createStatement(myQueryString); rs = ps.executeQuery(); // process
Do no omit calling close. It may cause problems.
I prefer adding try/catch block to the finally.