|
|
|
|
|
by turtleyacht
411 days ago
|
|
It didn't sound like he was anti-SQL in this case, just irked about ORMs being treated as business objects. The most obvious anti-pattern being a thin Spring service that just loads and executes .sql files. No domain logic, no collaborating objects, just Java and Spring for the sake of shuttling stuff to and from the database. That has its place, though, if you just want to ship data to a vendor for their processing. The service is a boundary to avoid granting rights or network access to the database itself. From a maintenance perspective, if most services are Java+Spring from a template, might as well on this one too. Maybe Uncle Bob is unhappy folks don't design anymore? Like CRC cards and hashing out expert patterns from users. |
|