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, getTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.query.NamedQueryDefinition
getLocation, getName, getRegistrationName, getResultTypeMethods 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:
getSqlQueryStringin interfaceNamedNativeQueryDefinition<E>
-
getResultSetMappingName
- Specified by:
getResultSetMappingNamein interfaceNamedNativeQueryDefinition<E>
-
resolve
Description copied from interface:NamedQueryDefinitionResolve the mapping definition into its run-time memento form.- Specified by:
resolvein interfaceNamedNativeQueryDefinition<E>- Specified by:
resolvein interfaceNamedQueryDefinition<E>
-