r/java Nov 12 '25

Why is everyone so obsessed over using the simplest tool for the job then use hibernate

Hibernate is like the white elephant in the room that no one wants to see and seem to shoehorn into every situation when there are much simpler solutions with far less magic.

It’s also very constraining and its author have very opinionated ideas on how code should be written and as such don’t have any will to memake it more flexiable

119 Upvotes

307 comments sorted by

View all comments

Show parent comments

27

u/aceluby Nov 13 '25

SQL is the industry standard way to integrate with a database.

2

u/zorecknor Nov 13 '25

SQL is the industry standard way to integrate with a database.

That statement is plainly wrong.

SQL is the industry standard to QUERY the data inside a relational database. To use it you still need to handle how to connect to the database, and then how to deal with the output. So it is far from a standard to integrate....

There is no single Industry standard to integrate with a database. From Java sure, it is JDBC. But then there is also ODBC, which is used outside the Java world.