@Repeatable(value=NamedNativeQueries.class) @Target(value=TYPE) @Retention(value=RUNTIME) public @interface NamedNativeQuery
NamedNativeQueryannotation can be applied to an entity or mapped superclass.
|Modifier and Type||Required Element and Description|
The name used to refer to the query with the
The SQL query string.
public abstract String query
public abstract QueryHint hints
public abstract Class resultClass
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.