|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,PACKAGE}) @Retention(value=RUNTIME) public @interface NamedQuery
Extends NamedQuery
with Hibernate features
Required Element Summary | |
---|---|
String |
name
the name of the NamedQuery |
String |
query
the Query String for the NamedQuery |
Optional Element Summary | |
---|---|
boolean |
cacheable
mark the query as cacheable or not |
CacheModeType |
cacheMode
the cache mode used for this query |
String |
cacheRegion
the cache region to use |
String |
comment
comment added to the SQL query, useful for the DBA |
int |
fetchSize
the number of rows fetched by the JDBC Driver per roundtrip |
FlushModeType |
flushMode
the flush mode for the query |
boolean |
readOnly
marks whether the results are fetched in read-only mode or not |
int |
timeout
the query timeout in seconds |
Element Detail |
---|
public abstract String name
public abstract String query
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |