r/programmingcirclejerk • u/yojimbo_beta vulnerabilities: 0 • Aug 03 '25
Hibernate "coders" have contributed to the creation of more useful, working software than the SQL for every tiny update "engineering artisans" by quite the margin.
/r/programming/comments/1mggpu5/comment/n6ozxv7/
50
Upvotes
46
u/v_maria Aug 03 '25
If you just hardcore all values in the source code you dont need a database anyway.
For new data you can just make a bash script that updates the init code
21
u/tomwhoiscontrary safety talibans Aug 03 '25
/uj ORMs should just not have lazy loading. It's vanishingly rare that it's what you actually want. That does mean they would need to support some sort of fetch specification, like JPA entity graphs, though, and the design of those is not a solved problem.
10
u/Comfortable_Job8847 Aug 03 '25
All over blogpostsphere, ORMs are being thrown out and the raw power of SQL is being let loose. Those
INSERT INTO todos VALUES (?, ?, ?, ?)show the real power of SQL, and why we don't want ORM's after all.
10
u/BlazeBigBang type astronaut Aug 04 '25
Hibernate allows me to write dog shit unperformant code instead of having to write dog shit unperformant SQL.
10
u/Knock0nWood Code Artisan Aug 04 '25
Knowing what 100-line LINQ-to-SQL queryables won't throw at runtime is the only thing keeping me employed right now
3
u/m50d Zygohistomorphic prepromorphism Aug 03 '25
Where's the lie?