public interface IHibernateTemplate
Template interface that can be used with both Hibernate 3 and Hibernate 4
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
applySettings(org.grails.datastore.mapping.query.Query query) |
|
public void |
applySettings(org.hibernate.Criteria criteria) |
|
public void |
clear() |
|
public boolean |
contains(java.lang.Object o) |
|
public void |
delete(java.lang.Object o) |
|
public void |
deleteAll(java.util.Collection<?> list) |
|
public void |
evict(java.lang.Object o) |
<T> |
public T |
execute(groovy.lang.Closure<T> callable) |
<T1> |
public T1 |
executeWithExistingOrCreateNewSession(org.hibernate.SessionFactory sessionFactory, groovy.lang.Closure<T1> callable) |
<T> |
public T |
executeWithNewSession(groovy.lang.Closure<T> callable) |
|
public void |
flush() |
<T> |
public T |
get(java.lang.Class<T> type, java.io.Serializable key) |
<T> |
public T |
get(java.lang.Class<T> type, java.io.Serializable key, org.hibernate.LockMode mode) |
|
public int |
getFlushMode() |
|
public org.hibernate.SessionFactory |
getSessionFactory() |
<T> |
public T |
load(java.lang.Class<T> type, java.io.Serializable key) |
|
public void |
lock(java.lang.Object o, org.hibernate.LockMode lockMode) |
|
public void |
refresh(java.lang.Object o) |
|
public java.io.Serializable |
save(java.lang.Object o) |
|
public void |
setFlushMode(int mode) |