FileDocCategorySizeDatePackage
NamedNativeQuery.javaAPI DocGlassfish v2 API2859Fri May 04 22:34:06 BST 2007javax.persistence

NamedNativeQuery

public class NamedNativeQuery
Is used to specify a native SQL named query. Query names are scoped to the persistence unit.
since
Java Persistence 1.0

Fields Summary
Constructors Summary
Methods Summary
javax.persistence.QueryHint[]hints()
Vendor-specific query hints

java.lang.Stringname()
Is used to refer to the query when using the {@link EntityManager} methods that create query objects.

java.lang.Stringquery()
The SQL query string

java.lang.ClassresultClass()
The class of the result

java.lang.StringresultSetMapping()
The name of a {@link SqlResultSetMapping}, as defined in metadata