The class is better than the SQL statement:
[*]
[*]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.
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更抽象和更易于编写,不过却一点也不简单。尽管他们得到很多培训,我曾经跟许多团队一起工作,他们都用得一团糟。 使用数据库的程序员将会面临一个困难抉择。MyBatis或JPA?
...
关键Class jpa是面向对象编程,俗称 orm;
你说那个好,肯定是jpa好,高级 https://juejin.cn/post/6880696204297142280 https://www.zhihu.com/question/50729231/answer/549761974
页:
[1]