|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedNativeQuery
Used to specify a native SQL named query.
| Required Element Summary | |
|---|---|
String |
name
Refer to the query when using the EntityManager methods that create query objects. |
String |
query
Query to use. |
| Optional Element Summary | |
|---|---|
QueryHint[] |
hints
Some hints for the query. |
Class |
resultClass
Class's result (default is void). |
String |
resultSetMapping
Name of SqlResultSetMapping. |
| Element Detail |
|---|
public abstract String name
public abstract String query
public abstract QueryHint[] hints
public abstract Class resultClass
public abstract String resultSetMapping
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||