Skip to content

消除 Java ORM,JPA 持久层代码的通用 DAO(支持 Hibernate, EclipseLink)。Common DAO to eliminate Java ORM, JPA persistence layer code(Support Hibernate, EclipseLink).

Notifications You must be signed in to change notification settings

ushelp/EasyCommonDAO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/特点

  • 中文
  1. 提供基于 Hibernate Native APIsJava Persistence API (JPA) (HiberanteEclipseLink) 的通用 DAO 实现

  2. 消灭 DAO 层接口定义和实现

  3. 两项实现选择:纯 ORM DAO 实现Spring ORM DAO 无缝集成实现

  4. 简单易用,学习成本低,Hibernate 和 JPA 使用统一接口规范

  5. 提供分页对象(PageBean),条件对象(EasyCriteria)综合查询

  6. 提供缓存查询;缓存管理;批量数据处理;级联删除支持...

  • English
  1. Provides common DAO implementation based on Hibernate Native APIs and Java Persistence API (JPA) (Hiberante, EclipseLink)

  2. Eliminate the definition and implementation of DAO layer interface

  3. Two implementation options: pure ORM DAO implementation, Spring ORM DAO seamless integration implementation

  4. Easy to use, low learning costs, Hibernate and JPA use a unified interface specification

  5. Provides paging objects (PageBean), conditional objects (EasyCriteria)

  6. Provide cache query; cache management; batch data processing; cascade delete support ...

EasyCommonDAO Architecture

EasyCommonDAO

Technical comparison/技术比较

相较于 普通的 DAO实现Spring Data JPAEasyCommonDAO 既无需定义 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

EasyCommonDAO

  • Spring Data JPA

Spring Data JPA

  • Basic DAO

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

English Readme

The official home page

Comments

If you have more comments, suggestions or ideas, please contact me.

End

Email:inthinkcolor@gmail.com

http://www.easyproject.cn

支付宝钱包扫一扫捐助:

我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。

感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。

支付宝钱包扫一扫捐助

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.

PayPal

About

消除 Java ORM,JPA 持久层代码的通用 DAO(支持 Hibernate, EclipseLink)。Common DAO to eliminate Java ORM, JPA persistence layer code(Support Hibernate, EclipseLink).

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages