Native query with entity manager