Utility methods for configuring Hibernate queries
Type Params | Return Type | Name and description |
---|---|---|
|
static org.hibernate.FetchMode |
getFetchMode(java.lang.Object object) Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode. |
|
static void |
populateArgumentsForCriteria(PersistentEntity entity, org.hibernate.Criteria c, java.util.Map argMap, org.springframework.core.convert.ConversionService conversionService, boolean useDefaultMapping) Populates criteria arguments for the given target class and arguments map |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
object
- The object, converted to a stringPopulates criteria arguments for the given target class and arguments map
entity
- The PersistentEntity instancec
- The criteria instanceargMap
- The arguments map