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