The assertion is that ORMs are an anti-pattern because it's hopeless to represent data from a relational db as object in an OO language. Obviously, an object or document database maps better to OO languages. My question is, what programming style maps correctly to relational data, other than the obvious answer of SQL?