The class is better than the SQL statement:

legs+之专栏 legs+之专栏 1602 人阅读 | 5 人回复 | 2021-12-12

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x

  • The DEBATE about SQL versus ORM will never end, and I've been thinking about it a lot.  


...

A programmer working with databases will soon face a difficult choice.  MyBatis or JPA?  

Many people say that the choice of technology should be based on demand, which is true.  However, in addition to the demand, there is a very important link, that is the level of teammates.  If you choose something more advanced, you're just setting the whole team up.  

JPA has a higher level of abstraction and simpler code to write, but it is anything but simple.  Despite a lot of training, I've worked with teams that still use it like shit.  



回答|共 5 个

Starry 发表于 2021-12-12 19:16:01| 字数 608 | 显示全部楼层

A programmer working with databases will soon face a difficult choice.  MyBatis or JPA?  

使用数据库的程序员将会面临一个困难抉择。MyBatis或JPA?

Many people say that the choice of technology should be based on demand, which is true.  However, in addition to the demand, there is a very important link, that is the level of teammates.  If you choose something more advanced, you're just setting the whole team up.  

许多人对于科技工具的选择理应基于需求的见解看来是正确的。虽然如此,除了需求之外,另外一点也很重要,那就是团队伙伴的水平。如果你选择了更先进的科技工具,你只会令整个团队难堪。

JPA has a higher level of abstraction and simpler code to write, but it is anything but simple.  Despite a lot of training, I've worked with teams that still use it like shit.  

JPA更抽象和更易于编写,不过却一点也不简单。尽管他们得到很多培训,我曾经跟许多团队一起工作,他们都用得一团糟。

评分

参与人数 1钻石 +80 收起 理由
simonzhd + 80 很给力!

查看全部评分

nvideo 发表于 2021-12-12 19:33:17| 字数 42 | 显示全部楼层

使用数据库的程序员将会面临一个困难抉择。MyBatis或JPA?

...
关键Class

nvideo 发表于 2021-12-12 21:38:48| 字数 33 来自手机 | 显示全部楼层

jpa是面向对象编程,俗称 orm;
你说那个好,肯定是jpa好,高级

nvideo 发表于 2021-12-14 18:45:29| 字数 42 | 显示全部楼层

nvideo 发表于 2021-12-14 18:47:37| 字数 56 | 显示全部楼层

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门推荐