Re:Objection to ORM Hatred
by cbetti on Tuesday February 09, 2021 @09:08AM
(#26077576)
Personally, I think ORM has a reasonable use case here, but I also find doing this using SQL to be straightforward and easier to reason about during future refactors.
Take a look at JDBI's Repository pattern for a simple compromise between SQL and ORM for this use case in particular.
Take a look at JDBI's Repository pattern for a simple compromise between SQL and ORM for this use case in particular.