| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
Is used to specify a native SQL named query. Query names are scoped to the persistence unit.
| Required Element Summary | |
|---|---|
|  String | nameIs used to refer to the query when using the EntityManagermethods that create query objects. | 
|  String | queryThe SQL query string | 
| Optional Element Summary | |
|---|---|
|  QueryHint[] | hintsVendor-specific query hints | 
|  Class | resultClassThe class of the result | 
|  String | resultSetMappingThe name of a SqlResultSetMapping, as defined in metadata | 
| Element Detail | 
|---|
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
| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.