NPersistence Reference Guide

Overload List

Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL).
CreateNamedQuery<(Of <<'(T>)>>)(String, Type)
Create an instance of TypedQuery for executing a Java Persistence query language named query. The select list of the query must contain only a single item, which must be assignable to the type specified by the resultClass argument.

See Also