RIA Advisory Interview Question

How can you implement named queries using Hibernate ?