title: java.sql.PreparedStatement.execute() returns false sometimes even if there are results
body: <p>I'm working with a SQL Server stored procedure by calling it in my Java app and writing the results to a spreadsheet.</p>
  
  <p>I noticed that there some rows in my spreadsheet with no data.</p>
  
  <p>When i was debugging my app, I noticed that this line:</p>
  
  <pre><code>boolean hasResults = stmt.execute();
  </code></pre>
  
  <p>is returning false on the rows that are missing in my spreadsheet. If i run the stored procedure manually, it returns results for the same input data that it's failing on in my Java code.</p>
  
  <p>How can this return false if it returns data when I run the stored procedure manually in SQuirreL SQL?</p>