Is OOP – ORM a unique problem in object-oriented programming?
Object relational mapping (ORM) is a problem that must be solved in all applications that implement and use relational database in object-oriented programming language
But if you use structure to map the relational database in C, the problem is different? Tuples / records in functional programming languages? Or I missed something because I didn't write database applications in C or functional languages
Solution
Well, either way
You are referring to object relational impact mismatch, that is, the problem of transferring data between object-oriented model and entity relational model The difficulty lies in the essentially different ways of structuring and storing information in the two models, where OO is hierarchical and Er is tabular
Object relational mapping is an attempt to solve the object - relational impedance mismatch problem
The term object - relationship impedance mismatch is specific to object oriented and entity relationship models However, the term "impedance" means resistance or difficulty, so the term "impedance mismatch" may be used to represent a general problem of mapping between two incompatible data models / type systems