The JPA Details view for an entity includes functions for adding named and named native queries to an entity.
Entering a Named Query