By: Blake Peters.  OODB- Object Oriented Database  An OODB is a database management system in which information is represented in the form of objects.

Slides:



Advertisements
Similar presentations
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
Advertisements

Object Relational Mapping A to Z. About Me Over A Decade of I.T. Experience Web Developer, DBA, DevOps, Mobile Microsoft Cert. in SQL Server Twitter:
Database Software File Management Systems Database Management Systems.
Organizing Data & Information
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Chapter 14 The Second Component: The Database.
Attribute databases. GIS Definition Diagram Output Query Results.
Object-Oriented Methods: Database Technology An introduction.
Chapter 1 Introduction to Databases
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
Session-01. Hibernate Framework ? Why we use Hibernate ?
IST Databases and DBMSs Todd S. Bacastow January 2005.
Object and object-relational databases 1. Object databases vs. Object-relational databases Object databases Stores complex objects – Data + functions.
Advanced Database CS-426 Week 2 – Logic Query Languages, Object Model.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Chapter 24 Introduction to Object DBMSs Prepared by Kai Huang CS157B Prof Sin-Min Lee.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
NHibernate in Action Web Seminar at UMLChina By Pierre Henri Kuaté 2008/08/27
Introduction to SQL Steve Perry
Simple Database.
CHAPTER 14 USING RELATIONAL DATABASES TO PROVIDE OBJECT PERSISTENCE (ONLINE) © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Database Support for Semantic Web Masoud Taghinezhad Omran Sharif University of Technology Computer Engineering Department Fall.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
12-CRS-0106 REVISED 8 FEB 2013 Java Collection. 12-CRS-0106 REVISED 8 FEB 2013 Java Collection.
2Object-Oriented Analysis and Design with the Unified Process Objectives  Describe the differences and similarities between relational and object-oriented.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 14 Using Relational Databases to Provide Object Persistence (Overview) Modern Database.
Domain and Persistence Patterns. Fundamental Pattern Types Design Patterns Business Logic Patterns.
CS 1308 Computer Literacy and the Internet
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Chapter 9 Database Systems Introduction to CS 1 st Semester, 2014 Sanghyun Park.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
1 Biometric Databases. 2 Overview Problems associated with Biometric databases Some practical solutions Some existing DBMS.
JPA / HIBERNATE CSCI 6370 Nilayan Bhattacharya Sanket Sable.
Chapter 10 Hashing. The search time of each algorithm depend on the number n of elements of the collection S of the data. A searching technique called.
Database Concepts Track 3: Managing Information using Database.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
Database Management Systems
Basics of JDBC Session 14.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Introduction – ORM, Helloworld Application
11-1 © Prentice Hall, 2004 Chapter 11: Physical Database Design Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
IST 210 Object Oriented Database. IST 210 Object-Oriented Concepts  Abstract Data Types  Class definition, provides extension to complex attribute types.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
By Shantanu Narang CS 157b. Relational Model  Object Model Object Oriented Databases(OOD) Object Query Language(OQL) OOD pros and cons.
Faeez, Franz & Syamim.   Database – collection of persistent data  Database Management System (DBMS) – software system that supports creation, population,
Murat KARAÖZ1. Scope What is an “Object Database”? History Queries When / Where / Why ODMSs Murat KARAÖZ2.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Chapter 11.  Large amounts of data are often stored in a database—an organized collection of data.  A database management system (DBMS) provides mechanisms.
Relational vs. Object Oriented Database Management System Syazwani Nur Dayana Nur Fatin Syafiqa M3cs2305B.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Christoph F. Eick: Final Words COSC Topics Covered in COSC 3480  Data models (ER, Relational, XML)  Using data models; learning how to store real.
SQL IMPLEMENTATION & ADMINISTRATION Indexing & Views.
CSG2H3 Object Oriented Programming
Data Base System Lecture 2: Introduction to Database
Do it now activity Since the beginning of the term you have planned a database based on your own scenario. Using your plan you are going to create a database,
Object Oriented Programming in java
Chapter 8 Advanced SQL.
Database SQL.
Presentation transcript:

By: Blake Peters

 OODB- Object Oriented Database  An OODB is a database management system in which information is represented in the form of objects as used in object oriented programming.  OODBs are different from relational databases which are table oriented.

 OODBs combine database capabilities with object-oriented programming language capabilities.  Allow object-oriented programmers to develop the product, store them as objects, and replicate or modify existing objects to make new objects.

 Like relational databases use SQL to query tables, OODBs use OQL (Object Query Language) to query objects  Objects can be retrieved directly without a search, by following pointers.  Allows faster access to data because joins are often not needed.

 Object Query Language syntax:  SELECT * FROM [ INSTANCEOF ] [ WHERE ]

 Object-relational mapping (ORM) is a programming technique for converting data between incompatible type systems in object-oriented programming languages.  This creates a “virtual database” that can be used from within the programming language

 Compared to traditional techniques of exchange between an object-oriented language and a relational database, ORM often reduces the amount of code that needs to be written

 Using ORM in OODBs eliminates the need for converting data to and from its SQL form, as the data is stored in its original object representation and relationships are directly represented, rather than requiring join tables/operations.

 Consider an address book entry that represents a single person along with zero or more phone numbers and zero or more addresses  Using and OODB with ORM a “Person object” could be implemented with attributes/fields to hold each data item that the entry comprises: person’s name, list of phone numbers, and list of addresses.

 The list of phone numbers whould itself contain “PhoneNumber objects” and so on  The address book entry is treated as a single object by the programming language (it can be referenced by a single variable containing a pointer to the object)  Methods could be written to return the desired phone number, address, etc

 Without the use of these object mappings, retrieving data is more difficult using SQL  SQL DBMS can only store and manipulate scalar values such as integers and strings organized within tables.  The programmer must either convert the object values into groups of simpler values for storage in the database, or only use simple scalar values within the program.

 This causes more coding for retrieval of values, and slower data access times