db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob M <rgmatth...@orcon.net.nz>
Subject Re: selecting records in a derby database
Date Sun, 20 Oct 2013 17:02:28 GMT
Hi Bryan


rs. = s.executeQuery("SELECT COUNT(*) FROM Table_name");
int recordCount = rs.getInt();

I get compilation error on last line

The method getInt(int) in the type ResultSet in not applicable for the
arguments ()

Bob M

View this message in context: http://apache-database.10148.n7.nabble.com/selecting-records-in-a-derby-database-tp134896p134906.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

View raw message