类 HibernateEntityDao
java.lang.Object
org.beangle.orm.hibernate.HibernateEntityDao
- 所有已实现的接口:
EntityDao
- 作者:
- chaostone
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明protected org.slf4j.LoggerLogger available to subclassesprotected ModelMetaprotected org.hibernate.SessionFactory -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longlonglongcreateBlob(InputStream inputStream) createBlob(InputStream inputStream, int length) createClob(String str) boolean检查持久化对象是否存在booleanvoidvoidvoidexecute(Operation.Builder builder) intexecuteUpdate(String queryString, Object... argument) intexecuteUpdate(String queryString, Map<String, Object> parameterMap) int[]executeUpdateRepeatly(String queryString, Collection<Object[]> arguments) booleanbooleanboolean<T extends Entity<ID>,ID extends Serializable>
T<T extends Entity<ID>,ID extends Serializable>
List<T>get(Class<T> clazz, String keyName, Collection<?> values) <T extends Entity<ID>,ID extends Serializable>
List<T>get(Class<T> clazz, Collection<ID> values) <T> Tget(String entityName, Serializable id) <T> List<T>protected org.hibernate.Session<T> Tinitialize(T proxy) voidbooleanbooleanremove(Class<?> entityClass, String attr, Collection<?> values) booleanvoidvoidremove(Collection<?> entities) voidvoidsaveOrUpdate(Object... entities) voidsaveOrUpdate(String entityName, Object... entities) voidsaveOrUpdate(String entityName, Collection<?> entities) voidsaveOrUpdate(Collection<?> entities) <T> List<T><T> List<T><T> List<T><T> List<T>依据自构造的查询语句进行查询<T> List<T>search(QueryBuilder<T> builder) 查询hql语句voidsetModelMeta(ModelMeta modelMeta) voidsetSessionFactory(org.hibernate.SessionFactory sessionFactory) <T> TuniqueResult(QueryBuilder<T> builder) intupdate(Class<?> entityClass, String attr, Object[] values, String[] argumentName, Object[] argumentValue) int
-
字段详细资料
-
logger
protected org.slf4j.Logger loggerLogger available to subclasses -
sessionFactory
protected org.hibernate.SessionFactory sessionFactory -
modelMeta
-
-
构造器详细资料
-
HibernateEntityDao
public HibernateEntityDao()
-
-
方法详细资料
-
getSession
protected org.hibernate.Session getSession() -
get
-
get
-
getAll
-
get
-
get
public <T extends Entity<ID>,ID extends Serializable> List<T> get(Class<T> clazz, Collection<ID> values) -
get
-
get
-
get
-
get
-
get
-
search
依据自构造的查询语句进行查询 -
search
查询hql语句 -
uniqueResult
- 指定者:
uniqueResult在接口中EntityDao
-
search
-
search
-
search
-
evict
-
executeUpdate
- 指定者:
executeUpdate在接口中EntityDao
-
executeUpdateRepeatly
- 指定者:
executeUpdateRepeatly在接口中EntityDao
-
executeUpdate
- 指定者:
executeUpdate在接口中EntityDao
-
createBlob
- 指定者:
createBlob在接口中EntityDao
-
createBlob
- 指定者:
createBlob在接口中EntityDao
-
createClob
- 指定者:
createClob在接口中EntityDao
-
refresh
-
initialize
public <T> T initialize(T proxy) - 指定者:
initialize在接口中EntityDao
-
saveOrUpdate
- 指定者:
saveOrUpdate在接口中EntityDao
-
save
-
execute
-
execute
-
saveOrUpdate
- 指定者:
saveOrUpdate在接口中EntityDao
-
saveOrUpdate
- 指定者:
saveOrUpdate在接口中EntityDao
-
saveOrUpdate
- 指定者:
saveOrUpdate在接口中EntityDao
-
update
-
update
-
remove
-
remove
-
remove
-
remove
-
remove
-
count
-
count
-
count
-
exist
-
exist
-
exist
-
duplicate
public boolean duplicate(Class<? extends Entity<?>> clazz, Serializable id, String codeName, Object codeValue) 检查持久化对象是否存在 -
duplicate
-
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory) -
setModelMeta
-