Hi Daniel,
actually, it should not be necessary to trouble with hibernate config, it should detect Entity Beans itself.
Where do you declare and use your query? I don't see a "@NamedQuery" annotation on the entity (where they have to be placed, other locations as session beans don't work as far as I remember). Do you call the query directly against the entity manager?
Best regards
Wolfgang