Use named queries.

Explicitly list entity classes in persistence unit.