GenericDaoHibernate
时间: 2024-01-22 18:03:31 浏览: 113
GenericDaoHibernate是一个泛型接口,它定义了Dao层的基础的CRUD(Create, read, update and delete)方法。它是通过继承HibernateDaoSupport类来实现的,该类是由Spring提供的一个抽象类,其中定义了HibernateTemplate的实例,是Hibernate的ORM结构中最基础的一个类。GenericDaoHibernate的实现类是GenericDaoImplHibernate<T>,它继承了HibernateGenericDao并实现了GenericDao<T>接口。GenericDaoImplHibernate还可以根据需要重写HibernateDaoSupport中定义的方法,并增加一些对HibernateDaoSupport类的补充。\[1\]
#### 引用[.reference_title]
- *1* *3* [数据库访问层中使用GenericDao和HibernateDaoSupport](https://blog.csdn.net/weixin_34239169/article/details/86095907)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Hibernate Generic DAO的介绍安装和使用](https://blog.csdn.net/ccgkren/article/details/84178949)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文