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