entity query - dao