Topic: Object oriented and Object relational database
Semester: 6th
Academic Year:2023-2024 INTRODUCTION
Object-oriented databases (OODB) and object-relational databases
(ORDB) are two distinct approaches to managing and organizing data. They both aim to bridge the gap between the object-oriented programming paradigm and database management systems, but they differ in their implementation and scope. Object-Oriented Database (OODB) In an object-oriented database, data is represented in the form of objects, similar to how it is modeled in object-oriented programming languages. These objects encapsulate both data and the methods that operate on that data. OODBs are designed to handle complex data structures, relationships, and hierarchies more naturally than traditional relational databases. Encapsulation: Encapsulation is the bundling of data (attributes) and the methods (procedures or functions) that operate on that data into a single unit known as an object.
Inheritance: Inheritance is a mechanism that allows a new class (subclass
or derived class) to inherit properties and behaviors (attributes and methods) from an existing class (base class or parent class).
Complex Relationships: Object-Oriented Database (OODB) excels in
representing intricate relationships between objects, allowing for the modeling of complex data structures and dependencies.
Query Language: A language used in OODBs for querying and
Object-relational databases, on the other hand, aim to enhance
traditional relational databases by incorporating some aspects of the object-oriented model. They extend the relational model to handle complex data types and relationships more effectively. Key features of ORDB
Complex Data Types: ORDBs support complex data types, such as
arrays, nested tables, and user-defined types, allowing for more flexibility in representing data. Inheritance and Polymorphism: Some ORDBs introduce features like inheritance and polymorphism, bringing object-oriented concepts into the relational model. Structured Query Language (SQL): ORDBs still primarily use SQL for querying, making them familiar to developers already accustomed to relational databases. Compatibility: ORDBs maintain compatibility with existing relational databases, enabling a smoother transition for applications with established relational data. REFERENCE https://docs.oracle.com/en/database/ https://learn.microsoft.com/en-us/sql/sql-server/?view=sql-s erver-ver16 https://www.odbms.org/odmg-standard/ THANK YOU!