NamedQueryDefinitionpublic class NamedQueryDefinition extends Object implements SerializableDefinition of a named query, defined in the mapping metadata. |
Fields Summary |
---|
private final String | query | private final boolean | cacheable | private final String | cacheRegion | private final Integer | timeout | private final Integer | fetchSize | private final org.hibernate.FlushMode | flushMode | private final Map | parameterTypes | private org.hibernate.CacheMode | cacheMode | private boolean | readOnly | private String | comment |
Constructors Summary |
---|
public NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, org.hibernate.FlushMode flushMode, Map parameterTypes)
this(
query,
cacheable,
cacheRegion,
timeout,
fetchSize,
flushMode,
null,
false,
null,
parameterTypes
);
| public NamedQueryDefinition(String query, boolean cacheable, String cacheRegion, Integer timeout, Integer fetchSize, org.hibernate.FlushMode flushMode, org.hibernate.CacheMode cacheMode, boolean readOnly, String comment, Map parameterTypes)
this.query = query;
this.cacheable = cacheable;
this.cacheRegion = cacheRegion;
this.timeout = timeout;
this.fetchSize = fetchSize;
this.flushMode = flushMode;
this.parameterTypes = parameterTypes;
this.cacheMode = cacheMode;
this.readOnly = readOnly;
this.comment = comment;
|
|