Could anybody tell me why I got the SQLexception error message during run-time from the following codes? Thanks!
boolean more = rs.next();
int groupNo =rs.getInt("GroupNo");
Here is the SQL gotten from the doQuery():
SELECT GroupNo FROM Costoms WHERE ID = 120
I checked my database, the record with ID = 120 exists in table "Customs"