r/java • • Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

165 Upvotes

464 comments sorted by

View all comments

129

u/majhenslon Jun 01 '24

Hibernate/JPA and anything on to of it, if you are not doing the most basic CRUD or are really experienced with it (are not using it as a crutch for interacting with the DB), because there are so many foot guns that would just be avoided by writing raw SQL.

-7

u/Puzzleheaded_Bus7706 Jun 01 '24

This is just pure bullshit. Hibernate is super easy and super useful!

Learn how to use it,  its simple 

3

u/OzoneGrif Jun 01 '24

jOOQ is also super easy but without all the horrendous magic Hibernate generates dynamically at runtime.

4

u/Puzzleheaded_Bus7706 Jun 01 '24

Magic? There is no magic in software. I'm yet to hear why hibernate is 'bad'

JOOQ is proprietary, JPA isn't. 

3

u/Oclay1st Jun 01 '24

JOOQ is open source!

→ More replies (3)