Changed visibility to private of "getQuery" methods in CommonDaoImpl