deprecated executeQuery from DAO Factory