News for hackers. Stuff that matters.
Re:I don't want to learn your query language (2018) by ajuc on Wednesday March 10, 2021 @03:33PM (#26415832)
I've used Hibernate and JPE for several projects. My first job was moving PL/SQL + C++ software to J2EE.

Recently I had a chance to work on a simple 6-months 4-developers Java project from scratch. We had to interface with legacy software through an Oracle db and I was getting ready to use Hibernate again but our team lead asked if we really want to use it or just do it cause it's the "best practice". The project was pretty simple from data POV and we were mostly fetching lots of records to be processed and bulk updating a few "status" fields, but I've seen simpler projects using Hibernate for no good reason.

Using SQL directly was a breath of fresh air and I estimate it cut at least a month from our schedule.

Re:I don't want to learn your query language (2018) by eitland on Wednesday March 10, 2021 @05:38PM (#26417390)
> The project was pretty simple from data POV and we were mostly fetching lots of records to be processed and bulk updating a few "status" fields,

Sounds like a perfect example for when you just want to whip up a few SQL queries, yes.

I'm not against raw sql.

I'm just against people presenting it as either/or and claiming that there is no gopd use case for ORMs.