title: Java: Empty ResultSet when retrieving record from MySQL
body: <p>I am using the netbeans and mysql. I have a table named <code>employee</code> with the following fields" <code>emp_id</code>, <code>emp_name</code>, <code>intime</code>, <code>date</code>. I try to retrieve a particular record using this query: </p>
  
  <pre><code>SELECT intime FROM employee WHERE emp_id='1' AND date='25/06/12'
  </code></pre>
  
  <p>I get an error saying <code>empty resultset</code>, but the table contains that particular record. Why did this error occurred?</p>
  
  <pre><code>error: dsdcom.mysql.jdbc.JDBC4ResultSet@d20b73
  </code></pre>