Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is just a claim that everyone who advocates for ORMs makes, but it’s not reality.


The third time I have to figure out whether to write obj.setCreatedAt(rs.getTimestamp("created_at", calendar)) or obj.setCreatedAt(rs.getLong("created_at")) I'm going to write code to look at the schema and the setter and figure it out automatically. And that’s where new ORMs come from.


Query builders solve those problems without the complexity of ORMs.


Query builders tend to get tediously verbose compared to a plain old `$entityManager->persist($object)`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: