@Target(value={TYPE,PACKAGE}) @Retention(value=RUNTIME) public @interface NamedQuery
NamedQuery
with Hibernate featuresModifier 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
NamedQuery
public abstract String query
NamedQuery
public 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
false
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.