3 ms·
> Hibernate is popular because we don't need to learn SQL to get needed data, but it's also super hard to get it right and don't do something stupid by accident
by eitland 6y ago
> Hibernate is popular because we don't need to learn SQL to get needed data, but it's also super hard to get it right and don't do something stupid by accident.
I think this is plain wrong, or I might have been very lucky with who I work with: if anything I think most people I work with learned JPA or other ORMs long after learning SQL.
- watwut 6y agoYeah, I really dont know anyone in real life who would claim or expect developers to not know SQL just because hibernate is used. Hibernate is how to get data into Java. And we still have database scripts, migrations to new versions and what not.
- deleted 6y ago[deleted]
- morelisp 6y agoYou have been lucky. Part of our hiring test (intentionally) does something which is trivial to get correct if you know SQL but also easy to get racey with Hibernate. About 4/5 of applicants get it wrong and maybe 2/5 don't know how to fix it when we show them they problem. (Spring devs with 1-5 years experience in web APIs and reporting.)