javax.persistence.NamedQuery with Hibernate features.
org.hibernate.Query
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public CacheModeType | |
| public String | |
| public String | |
| public int | |
| public FlushModeType | |
| public String | |
| public String | |
| public boolean | |
| public int |
| cacheable | back to summary |
|---|---|
| public boolean cacheable() Whether the query (results) is cacheable or not. Default is | |
| cacheMode | back to summary |
|---|---|
| public CacheModeType cacheMode() The cache mode used for this query. This refers to entities/collections returned from the query. | |
| cacheRegion | back to summary |
|---|---|
| public String cacheRegion() If the query results are cacheable, name the query cache region to use. | |
| comment | back to summary |
|---|---|
| public String comment() A comment added to the generated SQL query. Useful when engaging with DBA. | |
| fetchSize | back to summary |
|---|---|
| public int fetchSize() The number of rows fetched by the JDBC Driver per trip. | |
| flushMode | back to summary |
|---|---|
| public FlushModeType flushMode() The flush mode for this query. | |
| name | back to summary |
|---|---|
| public String name() The name of this | |
| query | back to summary |
|---|---|
| public String query() The query string for this | |
| readOnly | back to summary |
|---|---|
| public boolean readOnly() Whether the results should be read-only. Default is | |
| timeout | back to summary |
|---|---|
| public int timeout() The query timeout (in seconds). Default is no timeout. | |