Object–relational database
An object–relational database (ORD), or object–relational database management system (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritance are directly supported in database schemas and in the query language. Also, as with pure relational systems, it supports extension of the data model with custom data types and methods. An object–relational database can be said to provide a middle ground between relational databases and object-oriented databases. In object–relational databases, the approach is essentially that of relational databases: the data resides in the database and is manipulated collectively with queries in a query language; at the other extreme are OODBMSes in which the database is essentially a persistent object store for software written in an object-oriented programming language, with an application programming interface API for storing and retrieving objects, and little or no specific support for querying.
An object–relational database (ORD), or object–relational database management system (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritance are directly supported in database schemas and in the query language. Also, as with pure relational systems, it supports extension of the data model with custom data types and methods. An object–relational database can be said to provide a middle ground between relational databases and object-oriented databases. In object–relational databases, the approach is essentially that of relational databases: the data resides in the database and is manipulated collectively with queries in a query language; at the other extreme are OODBMSes in which the database is essentially a persistent object store for software written in an object-oriented programming language, with an application programming interface API for storing and retrieving objects, and little or no specific support for querying. CREATE TABLE Customers ( Id CHAR(12) NOT NULL PRIMARY KEY, Surname VARCHAR(32) NOT NULL, FirstName VARCHAR(32) NOT NULL, DOB DATE NOT NULL # DOB: Date of Birth ); SELECT InitCap(C.Surname) || ', ' || InitCap(C.FirstName) FROM Customers C WHERE Month(C.DOB) = Month(getdate()) AND Day(C.DOB) = Day(getdate()) Most SQL databases allow the crafting of custom functions, which would allow the query to appear as: SELECT Formal(C.Id) FROM Customers C WHERE Birthday(C.DOB) = Today() In an object–relational database, one might see something like this, with user-defined data-types and expressions such as BirthDay() : CREATE TABLE Customers ( Id Cust_Id NOT NULL PRIMARY KEY, Name PersonName NOT NULL, DOB DATE NOT NULL ); SELECT Formal( C.Id ) FROM Customers C WHERE BirthDay ( C.DOB ) = TODAY; The object–relational model can offer another advantage in that the database can make use of the relationships between data to easily collect related records. In an address book application, an additional table would be added to the ones above to hold zero or more addresses for each customer. Using a traditional RDBMS, collecting information for both the user and their address requires a "join": SELECT InitCap(C.Surname) || ', ' || InitCap(C.FirstName), A.city FROM Customers C JOIN Addresses A ON A.Cust_Id=C.Id -- the join WHERE A.city="New York" The same query in an object–relational database appears more simply: SELECT Formal( C.Name ) FROM Customers C WHERE C.address.city="New York" -- the linkage is 'understood' by the ORDB
References
- Date, Christopher ‘Chris’ J.; Darwen, Hugh , The Third Manifesto Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1358614254
Cite this reference
MLA "Date, Christopher ‘Chris’ J.; Darwen, Hugh , The Third Manifesto Wikipedia revision 1358614254, retrieved 2026-11-18." Date, Christopher ‘Chris’ J. 2026-11-17. https://en.wikipedia.org/wiki/Hugh_Darwen. Accessed 25 November 2026.
Chicago "Date, Christopher ‘Chris’ J.; Darwen, Hugh , The Third Manifesto Wikipedia revision 1358614254, retrieved 2026-11-18." Date, Christopher ‘Chris’ J. 2026-11-17. https://en.wikipedia.org/wiki/Hugh_Darwen.
APA Date, Christopher ‘Chris’ J. (2026). Date, Christopher ‘Chris’ J.; Darwen, Hugh , The Third Manifesto Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/wiki/Hugh_Darwen
- Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 2016-09-24 , retrieved 2014-03-08 Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2014-03-07 · rev 1358614254
Cite this reference
MLA "Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 2016-09-24 , retrieved 2014-03-08 Wikipedia revision 1358614254, retrieved 2026-11-18." Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 201. 2014-03-07. https://web.archive.org/web/20160924180745/http://isddc.dot.gov/OLPFiles/FHWA/010394.pdf. Accessed 25 November 2026.
Chicago "Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 2016-09-24 , retrieved 2014-03-08 Wikipedia revision 1358614254, retrieved 2026-11-18." Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 201. 2014-03-07. https://web.archive.org/web/20160924180745/http://isddc.dot.gov/OLPFiles/FHWA/010394.pdf.
APA Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 201. (2014). Data Integration Glossary (PDF) , US: Department of Transportation, August 2001, archived from the original (PDF) on 2016-09-24 , retrieved 2014-03-08 Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://web.archive.org/web/20160924180745/http://isddc.dot.gov/OLPFiles/FHWA/010394.pdf
- Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1358614254
Cite this reference
MLA "Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614254, retrieved 2026-11-18." Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614. 2026-11-17. https://www.cl.cam.ac.uk/~fms27/db/tr-98-2.pdf. Accessed 25 November 2026.
Chicago "Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614254, retrieved 2026-11-18." Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614. 2026-11-17. https://www.cl.cam.ac.uk/~fms27/db/tr-98-2.pdf.
APA Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614. (2026). Frank Stajano (1995), A Gentle Introduction to Relational and Object Oriented Databases (PDF) Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://www.cl.cam.ac.uk/~fms27/db/tr-98-2.pdf
- Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-05 Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2015-10-04 · rev 1358614254
Cite this reference
MLA "Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-05 Wikipedia revision 1358614254, retrieved 2026-11-18." Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-0. 2015-10-04. https://web.archive.org/web/20160304190615/http://home.iitk.ac.in/~namansg/cs300/3C.pdf. Accessed 25 November 2026.
Chicago "Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-05 Wikipedia revision 1358614254, retrieved 2026-11-18." Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-0. 2015-10-04. https://web.archive.org/web/20160304190615/http://home.iitk.ac.in/~namansg/cs300/3C.pdf.
APA Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-0. (2015). Naman Sogani (2015), Technical Paper Review (PDF) , archived from the original (PDF) on 2016-03-04 , retrieved 2015-10-05 Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://web.archive.org/web/20160304190615/http://home.iitk.ac.in/~namansg/cs300/3C.pdf
- Stonebraker,. Michael with Moore, Dorothy. Object–Relational DBMSs: The Next Great Wave . Morgan Kaufmann Publishers, 1996. ISBN 1-55860-397-2 . Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1358614254
Cite this reference
MLA "Stonebraker,. Michael with Moore, Dorothy. Object–Relational DBMSs: The Next Great Wave . Morgan Kaufmann Publishers, 1996. ISBN 1-55860-397-2 . Wikipedia revision 1358614254, retrieved 2026-11-18." Stonebraker,. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 25 November 2026.
Chicago "Stonebraker,. Michael with Moore, Dorothy. Object–Relational DBMSs: The Next Great Wave . Morgan Kaufmann Publishers, 1996. ISBN 1-55860-397-2 . Wikipedia revision 1358614254, retrieved 2026-11-18." Stonebraker,. 2026-11-17. https://en.wikipedia.org/wiki/ISBN_(identifier).
APA Stonebraker,. (2026). Stonebraker,. Michael with Moore, Dorothy. Object–Relational DBMSs: The Next Great Wave . Morgan Kaufmann Publishers, 1996. ISBN 1-55860-397-2 . Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)
- There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. Wikipedia revision 1358614254, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1358614254
Cite this reference
MLA "There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. Wikipedia revision 1358614254, retrieved 2026-11-18." There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. 2026-11-17. https://en.wikipedia.org/wiki/Michael_Stonebraker. Accessed 25 November 2026.
Chicago "There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. Wikipedia revision 1358614254, retrieved 2026-11-18." There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. 2026-11-17. https://en.wikipedia.org/wiki/Michael_Stonebraker.
APA There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. (2026). There was, at the time, a dispute whether the term was coined by Michael Stonebraker of Illustra or Won Kim of UniSQL. Wikipedia revision 1358614254, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/wiki/Michael_Stonebraker
Cite this article
MLA
"Object–relational database." encyclopegia.org, 2026, https://encyclopegia.org/wiki/object-relational-database. Accessed 25 November 2026.
Chicago
"Object–relational database." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/object-relational-database.
APA
encyclopegia.org. (2026). Object–relational database. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/object-relational-database
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON