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

查看:122
本文介绍了您更喜欢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.

原因并非概念中存在任何重大缺陷。 Hibernate运行良好。相反,我发现查询开销很低,我可以将大量复杂的逻辑放入大型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天全站免登陆