why does Statement.executeQuery gets stucked in java
<pre><code>String query = "SELECT * FROM mydatabase.Adminitrators";
Statement st = con.createStatement();
ResultSet rs =  st.executeQuery(query); 
</code></pre>

<p>the program gets stucked at the last statement:</p>

<pre><code>ResultSet rs = st.executeQuery(query);
</code></pre>
