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
-
-
Constructor Summary
Constructors Constructor Description SimpleQueryOptions(LockOptions lockOptions, Boolean readOnlyEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockOptions
getLockOptions()
Describes the locking to apply to the query resultsBoolean
isReadOnly()
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:QueryOptions
Describes the locking to apply to the query results- Specified by:
getLockOptions
in interfaceQueryOptions
- Overrides:
getLockOptions
in classQueryOptionsAdapter
-
isReadOnly
public Boolean isReadOnly()
Description copied from interface:QueryOptions
Should entities returned from the query be marked read-only.- Specified by:
isReadOnly
in interfaceQueryOptions
- Overrides:
isReadOnly
in classQueryOptionsAdapter
-
-