| Modifier and Type | Required Element and Description | 
|---|---|
String | 
name
The name used to refer to the query with the  
EntityManager methods that create query objects. | 
String | 
query
The SQL query string. 
 | 
| Modifier and Type | Optional Element and Description | 
|---|---|
QueryHint[] | 
hints
Query properties and hints. 
 | 
Class | 
resultClass
The class of the result. 
 | 
String | 
resultSetMapping
The name of a  
SqlResultSetMapping, as defined in metadata. | 
public abstract String name
EntityManager methods that create query objects.public abstract String query
public abstract QueryHint[] hints
public abstract Class resultClass
public abstract String resultSetMapping
SqlResultSetMapping, as defined in metadata.Copyright © 2016. All rights reserved.