import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
public class Main {
public static void main(String[] argv) throws Exception {
Connection conn = null;
Statement s = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
ResultSet r = s
.executeQuery("SELECT * FROM employee");
r.last();
int count = r.getRow();
r.beforeFirst();
}
}