- replaced numAffectedRows() by size() on all select queries, to assure Windows compatibility;