named queries

Asked on July 21, 2013
what is main difference between named query and named native query?

Replied on October 15, 2013
@NamedNativeQuery - allows you to write sql query with a annotated entity.
Find the URL
@NamedQuery - allows you to write HQL with entity.
Find the URL.