ORMs tackle the 'object-relational impedance mismatch' by translating structured relational tables into object-oriented code, often involving complex mapping for joins and foreign keys. In contrast, ODMs typically offer a more direct, less transformative mapping for flexible NoSQL document structures to application objects.