top | item 34282563

(no title)

themadsens | 3 years ago

My absolute most horrid work experiences have all involved Hibernate / JPA. It slows everything to a grinding crawl, works somewhat 99.9 % of the time and creates inexplicable un-debuggable errors for the remaining 0.1%

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

discuss

order

karmakaze|3 years ago

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.

[0] https://github.com/karmakaze/safeql

arisAlexis|3 years ago

Hibernate is masochitic

emerongi|3 years ago

How to turn a 1x developer into a 10x developer? Stop using Hibernate.

I might still have psychological trauma from it.