Top Fields Constructors Methods
org.hibernate.query.internal

public Class SimpleQueryOptions

extends QueryOptionsAdapter
Class Inheritance
Imports
org.hibernate.LockOptions, org.hibernate.query.spi.QueryOptionsAdapter

Author
Christian Beikov

Field Summary

Modifier and TypeField and Description
private final LockOptions
private final Boolean

Constructor Summary

AccessConstructor and Description
public
SimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled)

Method Summary

Modifier and TypeMethod and Description
public LockOptions
public Boolean
isReadOnly()

Overrides org.hibernate.query.spi.QueryOptionsAdapter.isReadOnly.

Implements org.hibernate.query.spi.QueryOptions.isReadOnly.

Should entities returned from the query be marked read-only.
Inherited from org.hibernate.query.spi.QueryOptionsAdapter:
getAppliedGraphgetCacheModegetCacheRetrieveModegetCacheStoreModegetCommentgetDatabaseHintsgetDisabledFetchProfilesgetEnabledFetchProfilesgetFetchSizegetFlushModegetLimitgetQueryPlanCachingEnabledgetResultCacheRegionNamegetResultListTransformergetTimeoutgetTupleTransformerisResultCachingEnabled

Field Detail

lockOptionsback to summary
private final LockOptions lockOptions
readOnlyEnabledback to summary
private final Boolean readOnlyEnabled

Constructor Detail

SimpleQueryOptionsback to summary
public SimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled)

Method Detail

getLockOptionsback to summary
public LockOptions getLockOptions()

Overrides org.hibernate.query.spi.QueryOptionsAdapter.getLockOptions.

Implements org.hibernate.query.spi.QueryOptions.getLockOptions.

Doc from org.hibernate.query.spi.QueryOptions.getLockOptions.

Describes the locking to apply to the query results

Annotations
@Override
isReadOnlyback to summary
public Boolean isReadOnly()

Overrides org.hibernate.query.spi.QueryOptionsAdapter.isReadOnly.

Implements org.hibernate.query.spi.QueryOptions.isReadOnly.

Doc from org.hibernate.query.spi.QueryOptions.isReadOnly.

Should entities returned from the query be marked read-only.

Annotations
@Override