@Target(value={TYPE,PACKAGE}) @Retention(value=RUNTIME) public @interface NamedQuery
NamedQuery with Hibernate features| Modifier and Type | Required Element and Description |
|---|---|
String |
name |
String |
query |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
cacheable |
CacheModeType |
cacheMode |
String |
cacheRegion |
String |
comment |
int |
fetchSize |
FlushModeType |
flushMode |
boolean |
readOnly |
int |
timeout |
public abstract String name
NamedQuerypublic abstract String query
NamedQuerypublic abstract FlushModeType flushMode
public abstract boolean cacheable
public abstract String cacheRegion
public abstract int fetchSize
public abstract int timeout
public abstract String comment
public abstract CacheModeType cacheMode
public abstract boolean readOnly
falseCopyright © 2018 JBoss by Red Hat. All rights reserved.