Package org.hibernate.cfg.annotations
Class QueryHintDefinition
- java.lang.Object
-
- org.hibernate.cfg.annotations.QueryHintDefinition
-
public class QueryHintDefinition extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryHintDefinition(String queryName, jakarta.persistence.QueryHint[] hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockOptions
determineLockOptions(jakarta.persistence.NamedQuery namedQueryAnnotation)
boolean
getBoolean(String hintName)
Boolean
getBooleanWrapper(String hintName)
boolean
getCacheability()
CacheMode
getCacheMode()
FlushMode
getFlushMode()
Map<String,Object>
getHintsMap()
Integer
getInteger(String hintName)
LockMode
getLockMode(String query)
String
getString(String hintName)
Integer
getTimeout()
-
-
-
Constructor Detail
-
QueryHintDefinition
public QueryHintDefinition(String queryName, jakarta.persistence.QueryHint[] hints)
-
-
Method Detail
-
getBoolean
public boolean getBoolean(String hintName)
-
getTimeout
public Integer getTimeout()
-
getCacheability
public boolean getCacheability()
-
getCacheMode
public CacheMode getCacheMode()
-
getFlushMode
public FlushMode getFlushMode()
-
determineLockOptions
public LockOptions determineLockOptions(jakarta.persistence.NamedQuery namedQueryAnnotation)
-
-