Re:Ask HN: ORM or Native SQL?
by arisAlexis on Friday January 06, 2023 @06:10PM
(#34282704)
Hibernate is masochitic
How to turn a 1x developer into a 10x developer? Stop using Hibernate.
I might still have psychological trauma from it.
I completely agree. I pretty much stopped using Spring/Boot because of it, even though it could be used without Hibernate/JPA.
I tried sql2o and later switched to jdbi and Javalin for a lightweight framework. I started making a typesafe library[0] that maps bottom-up like SQL expressions but development as stalled as I haven't been doing much side-project work to use it.
On top of that you have to ditch referential integrity to make it at least limp along
Give me plain SQL or something lowlevel like sql2o any day