Reputation: 181
What are the differences between o-o DB and o-o programming languages? Does o-o DB have all features in o-o programming like: - Association - polymorphism - encapsulation - Multiple inheritance
I couldn't find a direct answer to it
Upvotes: 0
Views: 205
Reputation: 1021
Initially there were procedural languages and data was stored relationally using foreign keys in tables.
After OOP languages were introduced the developer community observed mismatch between the two entities wiz OOP languages and DB. Since OOP concepts were not supported by the relational model. It caused lot of problems few of which are:
To provide a solution for this paradigm mismatch few vendors came up with OODB systems.
OODBS was more like an extension than an datastore. This provided seamless integration with OOPL. Unfortunately there didn't happen much work on standards for this type of DB and it lacked maturity to be popular among developers.
The solution which is popular today to part the mismatch between OOPL and relational DB is called ORM solutions like we have Hibernate for Java.
Upvotes: 1