@groovy.transform.CompileStatic class HibernateGormStaticApi<D> extends AbstractHibernateGormStaticApi<D>
The implementation of the GORM static method contract for Hibernate
Modifiers | Name | Description |
---|---|---|
protected java.lang.ClassLoader |
classLoader |
|
protected org.springframework.core.convert.ConversionService |
conversionService |
|
protected java.lang.Class |
identityType |
|
protected org.hibernate.SessionFactory |
sessionFactory |
Constructor and description |
---|
HibernateGormStaticApi
(java.lang.Class<D> persistentClass, HibernateDatastore datastore, java.util.List<FinderMethod> finders, java.lang.ClassLoader classLoader, org.springframework.transaction.PlatformTransactionManager transactionManager) |
Type Params | Return Type | Name and description |
---|---|---|
|
BuildableCriteria |
createCriteria() |
|
protected HibernateHqlQuery |
createHqlQuery(org.hibernate.Session session, Query q) |
|
java.lang.Integer |
executeUpdate(java.lang.CharSequence query, java.util.Map params, java.util.Map args) |
|
java.lang.Integer |
executeUpdate(java.lang.CharSequence query, java.util.Collection params, java.util.Map args) |
|
protected void |
firePostQueryEvent(org.hibernate.Session session, org.hibernate.Criteria criteria, java.lang.Object result) |
|
protected void |
firePreQueryEvent(org.hibernate.Session session, org.hibernate.Criteria criteria) |
|
GrailsHibernateTemplate |
getHibernateTemplate() |
|
java.util.List<D> |
list(java.util.Map params) |
|
D |
lock(java.io.Serializable id) |
|
java.lang.Object |
propertyMissing(java.lang.String name) |
|
protected void |
setResultTransformer(org.hibernate.Criteria c) |
<T> |
protected T |
withQueryEvents(Query query, groovy.lang.Closure<T> callable) |