Re:The ORM Debate Still Rages On
by elchief on Monday April 24, 2017 @02:21PM
(#14186661)
Use an ORM for CRUD, and use a SQL library (like Jooq or QueryDSL for Java) for custom querying
[ Parent
| on HN ]
Re:The ORM Debate Still Rages On
by tomschlick on Monday April 24, 2017 @02:40PM
(#14186829)
Exactly. Everyone wants a perfect solution for multiple use cases and that simply doesn't exist. Use what works for the task at hand.
For example, Laravel's Eloquent database layer is awesome for the 95% use case. When stuff gets complicated I can drop down to the query builder or raw SQL if things get real hairy.