Package org.hibernate.boot.internal
Class NamedNativeQueryDefinitionImpl
- java.lang.Object
-
- org.hibernate.boot.spi.AbstractNamedQueryDefinition
-
- org.hibernate.boot.internal.NamedNativeQueryDefinitionImpl
-
- All Implemented Interfaces:
NamedNativeQueryDefinition
,NamedQueryDefinition
public class NamedNativeQueryDefinitionImpl extends AbstractNamedQueryDefinition implements NamedNativeQueryDefinition
-
-
Constructor Summary
Constructors Constructor Description NamedNativeQueryDefinitionImpl(String name, String sqlString, String resultSetMappingName, String resultSetMappingClassName, 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResultSetMappingClassName()
String
getResultSetMappingName()
String
getSqlQueryString()
NamedNativeQueryMemento
resolve(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, getLockOptions, getReadOnly, getRegistrationName, 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
getRegistrationName
-
-
-
-
Constructor Detail
-
NamedNativeQueryDefinitionImpl
public NamedNativeQueryDefinitionImpl(String name, String sqlString, String resultSetMappingName, String resultSetMappingClassName, 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)
-
-
Method Detail
-
getSqlQueryString
public String getSqlQueryString()
- Specified by:
getSqlQueryString
in interfaceNamedNativeQueryDefinition
-
getResultSetMappingName
public String getResultSetMappingName()
- Specified by:
getResultSetMappingName
in interfaceNamedNativeQueryDefinition
-
getResultSetMappingClassName
public String getResultSetMappingClassName()
- Specified by:
getResultSetMappingClassName
in interfaceNamedNativeQueryDefinition
-
resolve
public NamedNativeQueryMemento resolve(SessionFactoryImplementor factory)
Description copied from interface:NamedQueryDefinition
Resolve the mapping definition into its run-time memento form- Specified by:
resolve
in interfaceNamedNativeQueryDefinition
- Specified by:
resolve
in interfaceNamedQueryDefinition
-
-