3 ms·
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
by erik_seaberg 3y ago
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.
- isbvhodnvemrwvn 3y agoQuery builders solve those problems without the complexity of ORMs.
- mschuster91 3y agoQuery builders tend to get tediously verbose compared to a plain old `$entityManager->persist($object)`