Products · Product
Hibernate
Raised as a usability problem by 16 people on Hacker News over 15 years (2010–2024), in 13 threads.
No issue was raised by at least 3 people in 3 threads this year.
No issue was raised by at least 3 people in 3 threads in the last 5 years.
Every issue, all time, most people first
Generated queries are hard to predict and easy to misuseUnreviewed
20102026- Much more complex to learn and use than SQL, with slow generated queries2023-06-27
- Generated SQL is unreadable and fetches far more columns than needed2021-04-12
- Generated queries are hard to predict and easy to misuse, causing incidents2017-05-02
Unreviewed issues were grouped by machine: Claude Haiku labelled each comment as a usability complaint, named what it's about and summed up the problem in a line, and a small model grouped similar problems. Nobody has checked them by hand. Expect mistakes.
The newest 19 complaints
- Huge conceptual overhead with detachment, lifecycle and lazy loading, and easy to write bad code2024-11-09
- Hibernate is so hard to use that a different language was worth switching to2023-10-08
- Performance and obscure bugs can break unexpectedly from fetch or mapping mistakes2023-06-28
- Developers find Hibernate painful and cumbersome to write code with2023-06-28
- Much more complex to learn and use than SQL, with slow generated queries2023-06-27
- Doing the right fetch is verbose, forcing long queries repeating IDs2023-02-26
- Simple read-update-save tasks require knowing Hibernate internals like persistence context2022-01-18
- Generated SQL is unreadable and fetches far more columns than needed2021-04-12
- Easy to accidentally trigger database updates and queries, producing huge data2021-04-11
- Described as a usability nightmare, though the specific problem is not stated2021-01-28
- Error messages appear in local language, making them hard to search online2020-05-18
- Generated queries are hard to predict and easy to misuse, causing incidents2017-05-02
- Developer can't predict when Hibernate flushes changes, forcing painful debugging2017-05-02
- Hibernate deletes in an order causing integrity violations; cascade settings are arcane and hard to get right2013-08-07
- Hidden magic makes N+1 query behavior hard to diagnose, even after changing fetch settings2013-08-06
- Hibernate's stateful session makes debugging maddening2013-01-05
- Lazy-loaded collections silently run expensive queries when accessed by unaware code2011-06-16
- Simple problems take hours to debug due to misconfiguration2010-01-05
- Very easy to use poorly, so people misuse it despite documentation2010-01-05