Top Inners Constructors Methods
org.hibernate.query.internal

public Class NamedQueryHelper

extends Object
Class Inheritance
Imports
java.util.Map, org.hibernate.CacheMode, .FlushMode, .LockMode, .LockOptions, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.util.config.ConfigurationHelper, org.hibernate.jpa.internal.util.FlushModeTypeHelper, .LockModeTypeHelper, jakarta.persistence.FlushModeType, .LockModeType

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static CacheMode
determineCacheMode(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static String
determineCacheRegion(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static FlushMode
determineFlushMode(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static LockOptions
determineLockOptions(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static Integer
determineTimeout(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static boolean
isCacheable(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NamedQueryHelperback to summary
public NamedQueryHelper()

Method Detail

determineCacheModeback to summary
private static CacheMode determineCacheMode(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

determineCacheRegionback to summary
private static String determineCacheRegion(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

determineFlushModeback to summary
private static FlushMode determineFlushMode(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

determineLockOptionsback to summary
private static LockOptions determineLockOptions(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

determineTimeoutback to summary
private static Integer determineTimeout(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

isCacheableback to summary
private static boolean isCacheable(Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

org.hibernate.query.internal back to summary

public abstract Class NamedQueryHelper.NamedQueryDescriptorBuilder

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.query.internal.NamedQueryHelper.NamedQueryDescriptorBuilder

Field Summary

Modifier and TypeField and Description
private Boolean
private CacheMode
private String
private String
private Integer
private FlushMode
private final Map<String, Object>
private LockOptions
private final String
private Boolean
private Integer

Constructor Summary

AccessConstructor and Description
public
NamedQueryDescriptorBuilder(String name, Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Boolean
public CacheMode
public String
public String
public Integer
public FlushMode
public Map<String, Object>
public LockOptions
public String
public Boolean
public Integer
public void
setCacheable(Boolean cacheable)

public void
public void
setCacheRegion(String cacheRegion)

public void
setComment(String comment)

public void
setFetchSize(Integer fetchSize)

public void
public void
public void
setReadOnly(Boolean readOnly)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cacheableback to summary
private Boolean cacheable
cacheModeback to summary
private CacheMode cacheMode
cacheRegionback to summary
private String cacheRegion
commentback to summary
private String comment
fetchSizeback to summary
private Integer fetchSize
flushModeback to summary
private FlushMode flushMode
hintsback to summary
private final Map<String, Object> hints
lockOptionsback to summary
private LockOptions lockOptions
nameback to summary
private final String name
readOnlyback to summary
private Boolean readOnly
timeoutback to summary
private Integer timeout

Constructor Detail

NamedQueryDescriptorBuilderback to summary
public NamedQueryDescriptorBuilder(String name, Map<String, Object> hints, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

getCacheableback to summary
public Boolean getCacheable()
getCacheModeback to summary
public CacheMode getCacheMode()
getCacheRegionback to summary
public String getCacheRegion()
getCommentback to summary
public String getComment()
getFetchSizeback to summary
public Integer getFetchSize()
getFlushModeback to summary
public FlushMode getFlushMode()
getHintsback to summary
public Map<String, Object> getHints()
getLockOptionsback to summary
public LockOptions getLockOptions()
getNameback to summary
public String getName()
getReadOnlyback to summary
public Boolean getReadOnly()
getTimeoutback to summary
public Integer getTimeout()
setCacheableback to summary
public void setCacheable(Boolean cacheable)
setCacheModeback to summary
public void setCacheMode(CacheMode cacheMode)
setCacheRegionback to summary
public void setCacheRegion(String cacheRegion)
setCommentback to summary
public void setComment(String comment)
setFetchSizeback to summary
public void setFetchSize(Integer fetchSize)
setFlushModeback to summary
public void setFlushMode(FlushMode flushMode)
setLockOptionsback to summary
public void setLockOptions(LockOptions lockOptions)
setReadOnlyback to summary
public void setReadOnly(Boolean readOnly)
setTimeoutback to summary
public void setTimeout(Integer timeout)