javax.persistence.NamedNativeQuery with Hibernate features.
org.hibernate.SQLQuery
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public CacheModeType | |
| public String | |
| public boolean | |
| public String | |
| public int | |
| public FlushModeType | |
| public String | |
| public String | |
| public String[] | |
| public boolean | |
| public Class | |
| public String | |
| 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. | |
| callable | back to summary |
|---|---|
| public boolean callable() Does the SQL ( | |
| comment | back to summary |
|---|---|
| public String comment() A comment added to the 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 the query. | |
| name | back to summary |
|---|---|
| public String name() The name. It is a named query after all :) | |
| query | back to summary |
|---|---|
| public String query() The SQL query string. | |
| querySpaces | back to summary |
|---|---|
| public String[] querySpaces() The query spaces to apply for the query.
| |
| readOnly | back to summary |
|---|---|
| public boolean readOnly() Whether the results should be read-only. Default is | |
| resultClass | back to summary |
|---|---|
| public Class The result Class. Should not be used in conjunction with | |
| resultSetMapping | back to summary |
|---|---|
| public String resultSetMapping() The name of a SQLResultSetMapping to use. Should not be used in conjunction with | |
| timeout | back to summary |
|---|---|
| public int timeout() The query timeout (in seconds). Default is no timeout. | |