| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final CacheMode | |
| private final String | |
| private final String | |
| private final Integer | |
| private final Integer | |
| private final FlushMode | |
| private final LockOptions | |
| private final Integer | |
| private final String | |
| private final Map | |
| private final Boolean | |
| private final String | |
| private final boolean | |
| private final Integer |
| Access | Constructor and Description |
|---|---|
| public | NamedQueryDefinition(String
The name under which to key/register the query name, String The query string. query, boolean Is the query cacheable? cacheable, String If cacheable, was there a specific region named? cacheRegion, Integer Query timeout, timeout, Integer null indicates no timeoutFetch size associated with the query, fetchSize, FlushMode null indicates no limitFlush mode associated with query flushMode, CacheMode Cache mode associated with query cacheMode, boolean Should entities returned from this query (those not already associated with the Session anyway)
be loaded as read-only? readOnly, String SQL comment to be used in the generated SQL, comment, Map<K, V> null indicates none(no idea, afaict this is always passed as null) parameterTypes)
Deprecated
Use
This form is used to bind named queries from Hibernate metadata, both NamedQueryDefinitionBuilder instead.
hbm.xml files and
org. annotation.
|
| public | NamedQueryDefinition(String
The name under which to key/register the query name, String The query string. query, boolean Is the query cacheable? cacheable, String If cacheable, was there a specific region named? cacheRegion, Integer Query timeout, timeout, Integer null indicates no timeoutSpecifies the lock timeout for queries that apply lock modes. lockTimeout, Integer Fetch size associated with the query, fetchSize, FlushMode null indicates no limitFlush mode associated with query flushMode, CacheMode Cache mode associated with query cacheMode, boolean Should entities returned from this query (those not already associated with the Session anyway)
be loaded as read-only? readOnly, String SQL comment to be used in the generated SQL, comment, Map<K, V> null indicates none(no idea, afaict this is always passed as null) parameterTypes)
Deprecated
Use
This version is used to bind named queries defined via NamedQueryDefinitionBuilder instead.
javax..
|
| pack-priv | NamedQueryDefinition(String name, String query, boolean cacheable, String cacheRegion, Integer timeout, LockOptions lockOptions, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes, Integer firstResult, Integer maxResults, Boolean passDistinctThrough)
|
| Modifier and Type | Method and Description |
|---|---|
| public CacheMode | |
| public String | |
| public String | |
| public Integer | |
| public Integer | |
| public FlushMode | |
| public LockOptions | |
| public Integer | |
| public String | |
| public Map | |
| public Boolean | |
| public String | |
| public String | |
| public Integer | |
| public boolean | |
| public boolean | |
| public NamedQueryDefinition | |
| public String |
| cacheable | back to summary |
|---|---|
| private final boolean cacheable | |
| cacheMode | back to summary |
|---|---|
| private final CacheMode cacheMode | |
| cacheRegion | back to summary |
|---|---|
| private final String cacheRegion | |
| comment | back to summary |
|---|---|
| private final String comment | |
| fetchSize | back to summary |
|---|---|
| private final Integer fetchSize | |
| firstResult | back to summary |
|---|---|
| private final Integer firstResult | |
| flushMode | back to summary |
|---|---|
| private final FlushMode flushMode | |
| lockOptions | back to summary |
|---|---|
| private final LockOptions lockOptions | |
| maxResults | back to summary |
|---|---|
| private final Integer maxResults | |
| name | back to summary |
|---|---|
| private final String name | |
| parameterTypes | back to summary |
|---|---|
| private final Map<K, V> parameterTypes | |
| passDistinctThrough | back to summary |
|---|---|
| private final Boolean passDistinctThrough | |
| query | back to summary |
|---|---|
| private final String query | |
| readOnly | back to summary |
|---|---|
| private final boolean readOnly | |
| timeout | back to summary |
|---|---|
| private final Integer timeout | |
| NamedQueryDefinition | back to summary |
|---|---|
| public NamedQueryDefinition(String name, String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes)
Deprecated Use This form is used to bind named queries from Hibernate metadata, both
| |
| NamedQueryDefinition | back to summary |
|---|---|
| public NamedQueryDefinition(String name, String query, boolean cacheable, String cacheRegion, Integer timeout, Integer lockTimeout, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes)
Deprecated Use This version is used to bind named queries defined via
| |
| NamedQueryDefinition | back to summary |
|---|---|
| pack-priv NamedQueryDefinition(String name, String query, boolean cacheable, String cacheRegion, Integer timeout, LockOptions lockOptions, Integer fetchSize, FlushMode flushMode, CacheMode cacheMode, boolean readOnly, String comment, Map<K, V> parameterTypes, Integer firstResult, Integer maxResults, Boolean passDistinctThrough) | |
| getCacheMode | back to summary |
|---|---|
| public CacheMode getCacheMode() | |
| getCacheRegion | back to summary |
|---|---|
| public String getCacheRegion() | |
| getComment | back to summary |
|---|---|
| public String getComment() | |
| getFetchSize | back to summary |
|---|---|
| public Integer getFetchSize() | |
| getFirstResult | back to summary |
|---|---|
| public Integer getFirstResult() | |
| getFlushMode | back to summary |
|---|---|
| public FlushMode getFlushMode() | |
| getLockOptions | back to summary |
|---|---|
| public LockOptions getLockOptions() | |
| getMaxResults | back to summary |
|---|---|
| public Integer getMaxResults() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getParameterTypes | back to summary |
|---|---|
| public Map | |
| getPassDistinctThrough | back to summary |
|---|---|
| public Boolean getPassDistinctThrough() | |
| getQuery | back to summary |
|---|---|
| public String getQuery() | |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() | |
| getTimeout | back to summary |
|---|---|
| public Integer getTimeout() | |
| isCacheable | back to summary |
|---|---|
| public boolean isCacheable() | |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() | |
| makeCopy | back to summary |
|---|---|
| public NamedQueryDefinition makeCopy(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |