Generic Repository

联合创作 · 2023-09-30 03:52

Generic Repository (grepo) 是一个开源的Java 框架,用来通过统一的方法访问各种数据库系统。使用grepo,一般不再需要提供所有的样板代码是必要的,以访问(数据库)从Java库。你所要做的就是适当的数据库编写的代码(查询,过程,函数等),一个适当注解的Java接口,很少Spring配置。使用该框架具有以下优点:

  • Improves development time because no implementations are required for data access objects (DAOs).
  • Simplifies development and increases code quality - you won't hear your colleague say "Hey look, what I've found - I guess this is not the way we do this normally?!" anymore.
  • Makes your data access layer consistent - similar/equal data access operations are "implemented" (and thus work) in the same way which in turn makes software more stable and in general better maintainable.
浏览 10
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报