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