Content deleted Content added
m +sl: |
No edit summary |
||
Line 32:
In recent years, the [[object-oriented]] paradigm has been applied to databases as well, creating a new programming model known as [[object database|object databases]]. These databases attempt to overcome some of the difficulties of using objects with the SQL DBMSs. An object-oriented program allows objects of the same type to have different implementations and behave differently, so long as they have the same interface ([[polymorphism_(computer_science)|polymorphism]]). This doesn't fit well with a SQL database where user-defined types are difficult to define and use, and where the Two Great Blunders prevail: the identification of classes with tables (the correct identification is of classes with types, and of objects with values), and the usage of pointers.
A variety of ways have been tried for storing objects in a database, but there is little consensus on how this should be done. Implementing object databases undo the benefits of relational model by introducing pointers and making ad-hoc queries more difficult. This is because they are essentially adaptations of obsolete network and
== Applications of databases ==
|