I'm with the first part of your comment. But why do you suddenly conclude that object orientation is good?
If your language supports relation, there's no need to badly translate to objects. (And even if your language doesn't support everything your database does, there's still less of an impedance mismatch if you use an 'RRM' instead of an ORM.)
So to conclude, objection-orientation is fine and relational is fine too, the issue is that the optimal way to translate between them does not scale.