@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 © 2019 JBoss by Red Hat. All rights reserved.