Top Fields Methods
org.hibernate.query.spi

public Interface MutableQueryOptions

extends QueryOptions
Known Direct Implementers
org.hibernate.query.internal.QueryOptionsImpl
Imports
jakarta.persistence.CacheRetrieveMode, .CacheStoreMode, org.hibernate.CacheMode, .FlushMode, org.hibernate.graph.GraphSemantic, org.hibernate.graph.spi.RootGraphImplementor, org.hibernate.query.QueryLogging, .ResultListTransformer, .TupleTransformer

Author
Steve Ebersole

Field Summary

Inherited from org.hibernate.query.spi.QueryOptions:
NONEREAD_ONLYREAD_WRITE

Method Summary

Modifier and TypeMethod and Description
public void
public void
applyGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic)

public void
public void
public default void
setCacheMode(CacheMode cacheMode)

Corollary to getCacheMode()

public void
public void
public void
setComment(String comment)

Corollary to getComment()

public void
setFetchSize(int fetchSize)

Corollary to getFetchSize()

public void
setFlushMode(FlushMode flushMode)

Corollary to getFlushMode()

public void
public void
setReadOnly(boolean readOnly)

Corollary to isReadOnly()

public void
public void
setResultCachingEnabled(boolean cacheable)

Corollary to isResultCachingEnabled()

public void
public void
setTimeout(int timeout)

Corollary to getTimeout()

public void
Inherited from org.hibernate.query.spi.QueryOptions:
getAppliedGraphgetCacheModegetCacheRetrieveModegetCacheStoreModegetCommentgetDatabaseHintsgetDisabledFetchProfilesgetEffectiveLimitgetEnabledFetchProfilesgetFetchSizegetFirstRowgetFlushModegetLimitgetLockOptionsgetMaxRowsgetQueryPlanCachingEnabledgetResultCacheRegionNamegetResultListTransformergetTimeoutgetTupleTransformergetUniqueSemantichasLimitisReadOnlyisResultCachingEnabled

Method Detail

addDatabaseHintback to summary
public void addDatabaseHint(String hint)

Corollary to getDatabaseHints()

applyGraphback to summary
public void applyGraph(RootGraphImplementor<?> rootGraph, GraphSemantic graphSemantic)
disableFetchProfileback to summary
public void disableFetchProfile(String profileName)
enableFetchProfileback to summary
public void enableFetchProfile(String profileName)
setCacheModeback to summary
public default void setCacheMode(CacheMode cacheMode)

Corollary to getCacheMode()

setCacheRetrieveModeback to summary
public void setCacheRetrieveMode(CacheRetrieveMode retrieveMode)

Corollary to getCacheRetrieveMode

setCacheStoreModeback to summary
public void setCacheStoreMode(CacheStoreMode storeMode)

Corollary to getCacheStoreMode()

setCommentback to summary
public void setComment(String comment)

Corollary to getComment()

setFetchSizeback to summary
public void setFetchSize(int fetchSize)

Corollary to getFetchSize()

setFlushModeback to summary
public void setFlushMode(FlushMode flushMode)

Corollary to getFlushMode()

setQueryPlanCachingEnabledback to summary
public void setQueryPlanCachingEnabled(Boolean queryPlanCachingEnabled)

Corollary to getQueryPlanCachingEnabled()

setReadOnlyback to summary
public void setReadOnly(boolean readOnly)

Corollary to isReadOnly()

setResultCacheRegionNameback to summary
public void setResultCacheRegionName(String cacheRegion)

Corollary to getResultCacheRegionName()

setResultCachingEnabledback to summary
public void setResultCachingEnabled(boolean cacheable)

Corollary to isResultCachingEnabled()

setResultListTransformerback to summary
public void setResultListTransformer(ResultListTransformer<?> transformer)
setTimeoutback to summary
public void setTimeout(int timeout)

Corollary to getTimeout()

setTupleTransformerback to summary
public void setTupleTransformer(TupleTransformer<?> transformer)