As our society is developing at an increasing rate larger files are being created, transmitted and stored electronically. There are two popular kinds of databases and these are object-oriented and object-relational databases. About eighty-eight percent of organizations use relational databases and on the other hand the object oriented databases are acquired by fifty-five percent of the organization for their future plans. The benefits of technology of two kinds of databases must be understood clearly so that decisions can be taken for choosing any one kind of databases for dealing with the real problem of the company.
Technology in object-relational database and in object-oriented database:
Inheritance: The developers are allowed in inheritance for taking the objects having similar attributes and methods and then similarities are abstracted out of them. Then the subclasses are created inherited from a super -class. The instances of the super-class are composed of the instances of the subclasses and the properties of subclass are similar to the properties of the super-class. The inheritances are of various types such as single, multiple, union, mutual exclusion, partial, repeated, and selective inheritance. The single inheritance and multiple inheritances are used by the primary inheritances. Where the inheritance is only one super-class then that is known as single inheritance. On the other hand when the subclass inherits from more than one super-class it is known as multiple inheritance.