 The problem of bridging object-oriented programming accesses and data patterns with relational databases is known as object-relational impedance mismatch.There are a number of approaches to cope with this problem, but no general solution without downsides.One of the most common approaches is object-relational mapping, as found in IDE languages such as Visual FoxPro and libraries such as Java Data Objects and Ruby on Rails' ActiveRecord.