Object-relational impedance mismatch (转载)

http://www.agiledata.org/essays/impedanceMismatch.html

Why does this impedance mismatch exist?  The object-oriented paradigm is based on proven software engineering principles.  The relational paradigm, however, is based on proven mathematical principles.  Because the underlying paradigms are different the two technologies do not work together seamlessly. The impedance mismatch becomes apparent when you look at the preferred approach to access: With the object paradigm you traverse objects via their relationships whereas with the relational paradigm you join the data rows of tables. This fundamental difference results in a non-ideal combination of object and relational technologies, although when have you ever used two different things together without a few hitches? 

- See more at: http://www.agiledata.org/essays/impedanceMismatch.html#sthash.ieipnjcD.dpuf

原文地址:https://www.cnblogs.com/inshua/p/6845941.html