您更喜欢哪种 Java ORM,为什么? [英] What Java ORM do you prefer, and why?

查看:19
本文介绍了您更喜欢哪种 Java ORM,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个非常开放的问题.我将开始一个新项目,并正在研究不同的 ORM 以与数据库访问集成.

It's a pretty open ended question. I'll be starting out a new project and am looking at different ORMs to integrate with database access.

你有什么最喜欢的吗?有什么你建议远离的吗?

Do you have any favorites? Are there any you would advise staying clear of?

推荐答案

我已经停止使用 ORM.

I have stopped using ORMs.

原因不是概念上的任何大缺陷.休眠运行良好.相反,我发现查询的开销很低,我可以将大量复杂的逻辑放入大型 SQL 查询中,并将我的大量处理转移到数据库中.

The reason is not any great flaw in the concept. Hibernate works well. Instead, I have found that queries have low overhead and I can fit lots of complex logic into large SQL queries, and shift a lot of my processing into the database.

所以考虑只使用 JDBC 包.

So consider just using the JDBC package.

这篇关于您更喜欢哪种 Java ORM,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆