3 ms·
There is no good ORM -like it says here https://github.com/l3nz/ObjectiveSync https://github.com/l3nz/ObjectiveSync “Bad practice - if you hide the database
by kamma4434 1mo ago
There is no good ORM -like it says here https://github.com/l3nz/ObjectiveSync https://github.com/l3nz/ObjectiveSync “Bad practice - if you hide the database, you may get something done quickly, but it's a bad idea. If yor Java code expects to have a collection of one million objects as an array, it does not matter if they are lazily loaded or not - some code somewhere might want to iterate over them, and this will kill the process. You cannot really forget that there is a database somewhere, and you should not do it.”
- arunix 1mo agoORMs based on the query object pattern don't hide the database, but make SQL more reusable/composable (e.g. SQLAlchemy, JOOQ, etc). https://martinfowler.com/eaaCatalog/queryObject.html https://martinfowler.com/eaaCatalog/queryObject.html
- kamma4434 1mo agoOne wonders if that’s an ORM at all or a query composer…