EasyCommonDAO
EasyCommonDAO 为 Java ORM 主流持久层技术提供通用的 DAO(Data Access Object)
支持。旨在于消除 DAO 层接口定义和实现。
EasyCommonDAO is a Java ORM Common DAO(Data Access Object)
implementation, can eliminate the interface and implements of DAO.
Latest Version/最新版本
-
Least version:
1.5.1-RELEASE
-
Test enviroment:
Hibernate 5.1.10(JPA 2.1)
Hibernate 4.3.11(JPA 2.1)
Hibernate 3.6.10(JPA 2.0)
EclipseLink 2.6.4(JPA 2.0+)
Spring 4.3.13
Featuter/特点
- 中文
-
提供基于 Hibernate Native APIs 和 Java Persistence API (JPA) (
Hiberante
,EclipseLink
) 的通用 DAO 实现 -
消灭 DAO 层接口定义和实现
-
两项实现选择:纯 ORM DAO 实现,Spring ORM DAO 无缝集成实现
-
简单易用,学习成本低,Hibernate 和 JPA 使用统一接口规范
-
提供分页对象(
PageBean
),条件对象(EasyCriteria
)综合查询 -
提供缓存查询;缓存管理;批量数据处理;级联删除支持...
- English
-
Provides common DAO implementation based on Hibernate Native APIs and Java Persistence API (JPA) (
Hiberante
,EclipseLink
) -
Eliminate the definition and implementation of DAO layer interface
-
Two implementation options: pure ORM DAO implementation, Spring ORM DAO seamless integration implementation
-
Easy to use, low learning costs, Hibernate and JPA use a unified interface specification
-
Provides paging objects (
PageBean
), conditional objects (EasyCriteria
) -
Provide cache query; cache management; batch data processing; cascade delete support ...
EasyCommonDAO Architecture
Technical comparison/技术比较
相较于 普通的 DAO实现
和 Spring Data JPA
,EasyCommonDAO
既无需定义 DAO 接口,也无需学习方法命名解析规范。降低学习成本,并真正的消除 DAO 层实现。
Compared to Basic DAO
and Spring Data JPA
, EasyCommonDAO
does not need to define a DAO interface, nor does it need to learn method naming conventions. Reduce the cost of learning, and truly eliminate the DAO layer to achieve.
- EasyCommonDAO
- Spring Data JPA
- Basic DAO
Maven
Choice one EasyCommonDAO artifactId
- Hibernate Native API
`easycommondao-hibernate5`
`easycommondao-hibernate4`
`easycommondao-hibernate3`
- JPA
`easycommondao-jpa-hibernate5`
`easycommondao-jpa-hibernate4`
`easycommondao-jpa-hibernate3`
`easycommondao-jpa-eclipselink`
<dependency>
<groupId>cn.easyproject</groupId>
<artifactId>${artifactId}</artifactId>
<version>1.5.1-RELEASE</version>
</dependency>
Document/文档
中文
如果您有更好意见,建议或想法,请联系我。
English
If you have more comments, suggestions or ideas, please contact me.
End
Email:[email protected]
支付宝钱包扫一扫捐助:
我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。
感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。
We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.
Thank you donation to support the server running and encourage more community members.