@groovy.transform.CompileDynamic class HibernateDetachedCriteria<T> extends DetachedCriteria<T>
Hibernate-specific subclass of DetachedCriteria that overrides
propertyMissing to return a PropertyReference for numeric
persistent properties. This enables cross-property arithmetic in where-DSL
expressions such as pageCount > price * 10 without touching shared
modules (and therefore without affecting H5 or MongoDB backends).
| Constructor and description |
|---|
HibernateDetachedCriteria(java.lang.Class<T> targetClass, java.lang.String alias) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected static boolean |
isNumericPropertyType(java.lang.Class<?> type) |
|
protected HibernateDetachedCriteria<T> |
newInstance() |
|
java.lang.Object |
propertyMissing(java.lang.String name) |