Package org.hibernate.query.internal
Class SimpleQueryOptions
- java.lang.Object
-
- org.hibernate.query.spi.QueryOptionsAdapter
-
- org.hibernate.query.internal.SimpleQueryOptions
-
- All Implemented Interfaces:
QueryOptions
public class SimpleQueryOptions extends QueryOptionsAdapter
-
-
Field Summary
-
Fields inherited from interface org.hibernate.query.spi.QueryOptions
NONE, READ_ONLY, READ_WRITE
-
-
Constructor Summary
Constructors Constructor Description SimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockOptionsgetLockOptions()Describes the locking to apply to the query resultsBooleanisReadOnly()Should entities returned from the query be marked read-only.-
Methods inherited from class org.hibernate.query.spi.QueryOptionsAdapter
getAppliedGraph, getCacheMode, getCacheRetrieveMode, getCacheStoreMode, getComment, getDatabaseHints, getFetchSize, getFlushMode, getLimit, getResultCacheRegionName, getResultListTransformer, getTimeout, getTupleTransformer, isResultCachingEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.spi.QueryOptions
getEffectiveLimit, getFirstRow, getMaxRows, getUniqueSemantic, hasLimit
-
-
-
-
Constructor Detail
-
SimpleQueryOptions
public SimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled)
-
-
Method Detail
-
getLockOptions
public LockOptions getLockOptions()
Description copied from interface:QueryOptionsDescribes the locking to apply to the query results- Specified by:
getLockOptionsin interfaceQueryOptions- Overrides:
getLockOptionsin classQueryOptionsAdapter
-
isReadOnly
public Boolean isReadOnly()
Description copied from interface:QueryOptionsShould entities returned from the query be marked read-only.- Specified by:
isReadOnlyin interfaceQueryOptions- Overrides:
isReadOnlyin classQueryOptionsAdapter
-
-