List:MySQL and Java« Previous MessageNext Message »
From:Sergei Dudin Date:March 6 2000 2:12pm
Subject:ResultSet in empty SELECT
View as plain text  
This message was sent from Geocrawler.com by "Sergei Dudin" <dudin_sergei@stripped>
Be sure to reply to that address.

Hi
I've got a problem with the following:
I execute a query which don't find rows 
(conditions are not meet). And when I make 
operation beforeFirst() in ResultSet and the make 
the cycle (while myResultSet.next()) it returns 
TRUE! Why? It doesn't have to return TRUE because 
the query doesn't find corresponding rows.
I use mySQL and JDK1.2

Thank you in advance,
Sergei

Geocrawler.com - The Knowledge Archive
Thread
ResultSet in empty SELECTSergei Dudin6 Mar
  • Re: ResultSet in empty SELECTMark Matthews7 Mar