Package org.hibernate.boot.spi
Class AbstractNamedQueryDefinition<R>
java.lang.Object
org.hibernate.boot.spi.AbstractNamedQueryDefinition<R>
- All Implemented Interfaces:
TypedQueryReference<R>
,NamedQueryDefinition<R>
- Direct Known Subclasses:
NamedHqlQueryDefinitionImpl
,NamedNativeQueryDefinitionImpl
public abstract class AbstractNamedQueryDefinition<R>
extends Object
implements NamedQueryDefinition<R>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractNamedQueryDefinition
(String name, @Nullable Class<R> resultType, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, LockOptions lockOptions, Integer timeout, Integer fetchSize, String comment, Map<String, Object> hints, String location) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.query.NamedQueryDefinition
getName, resolve
-
Constructor Details
-
AbstractNamedQueryDefinition
-
-
Method Details
-
getRegistrationName
Description copied from interface:NamedQueryDefinition
The name under which the query is to be registered.- Specified by:
getRegistrationName
in interfaceNamedQueryDefinition<R>
-
getLocation
Description copied from interface:NamedQueryDefinition
The location at which the defining named query annotation occurs, usually a class or package name. Null for named queries declared in XML.- Specified by:
getLocation
in interfaceNamedQueryDefinition<R>
-
getResultType
Description copied from interface:NamedQueryDefinition
The expected result type of the query, ornull
.- Specified by:
getResultType
in interfaceNamedQueryDefinition<R>
- Specified by:
getResultType
in interfaceTypedQueryReference<R>
-
getCacheable
-
getCacheRegion
-
getCacheMode
-
getFlushMode
-
getReadOnly
-
getLockOptions
-
getTimeout
-
getFetchSize
-
getComment
-
getHints
- Specified by:
getHints
in interfaceTypedQueryReference<R>
-