Package org.hibernate.boot.internal
Class NamedNativeQueryDefinitionImpl<E>
java.lang.Object
org.hibernate.boot.spi.AbstractNamedQueryDefinition<E>
org.hibernate.boot.internal.NamedNativeQueryDefinitionImpl<E>
- All Implemented Interfaces:
TypedQueryReference<E>
,NamedNativeQueryDefinition<E>
,NamedQueryDefinition<E>
public class NamedNativeQueryDefinitionImpl<E>
extends AbstractNamedQueryDefinition<E>
implements NamedNativeQueryDefinition<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.query.NamedNativeQueryDefinition
NamedNativeQueryDefinition.Builder<E>
-
Constructor Summary
ConstructorsConstructorDescriptionNamedNativeQueryDefinitionImpl
(String name, @Nullable Class<E> resultType, String sqlString, String resultSetMappingName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints, String location) -
Method Summary
Modifier and TypeMethodDescriptionresolve
(SessionFactoryImplementor factory) Resolve the mapping definition into its run-time memento form.Methods inherited from class org.hibernate.boot.spi.AbstractNamedQueryDefinition
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getLocation, getLockOptions, getReadOnly, getRegistrationName, getResultType, getTimeout
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
getLocation, getName, getRegistrationName, getResultType
Methods inherited from interface jakarta.persistence.TypedQueryReference
getHints
-
Constructor Details
-
NamedNativeQueryDefinitionImpl
public NamedNativeQueryDefinitionImpl(String name, @Nullable Class<E> resultType, String sqlString, String resultSetMappingName, Set<String> querySpaces, Boolean cacheable, String cacheRegion, CacheMode cacheMode, FlushMode flushMode, Boolean readOnly, Integer timeout, Integer fetchSize, String comment, Integer firstResult, Integer maxResults, Map<String, Object> hints, String location)
-
-
Method Details
-
getSqlQueryString
- Specified by:
getSqlQueryString
in interfaceNamedNativeQueryDefinition<E>
-
getResultSetMappingName
- Specified by:
getResultSetMappingName
in interfaceNamedNativeQueryDefinition<E>
-
resolve
Description copied from interface:NamedQueryDefinition
Resolve the mapping definition into its run-time memento form.- Specified by:
resolve
in interfaceNamedNativeQueryDefinition<E>
- Specified by:
resolve
in interfaceNamedQueryDefinition<E>
-