OO models with relational databases

Slides:



Advertisements
Similar presentations
Transform an ER Model into a Relational Database Schema
Advertisements

Lab 3 Alternative ER Modelling Pearson Education © 2009.
FIS 431/631 Financial Information Systems: Analysis and Design ERD & Normalization Joe Callaghan Oakland University Department of Accounting & Finance.
Mapping ERM to relational database
UML Unified Modeling Language. What is UML? Unified Modeling Language (UML) is a standardized, general-purpose modeling language in the field of software.
UML to XSD. Assumptions Basic Understanding of UML Basic Understanding of XML Basic Understanding of XSD schemas Basic Understanding of UML Basic Understanding.
Unit 3 Conceptual Data Modeling. Key Concepts Conceptual data modeling process Classes and objects Attributes Identifiers, candidate keys, and primary.
Database Design – Lecture 5 Conceptual Data Modeling – adding attributes.
3 & 4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Keys Consists of one or more attributes that determine other.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
Database Design – Lecture 4 Conceptual Data Modeling.
Week 7-8 DBMS ER-Relational Mapping. ER-Relational Mapping.
DES715 – Database Design Conceptual design. Database Life Cycle Database initial study Database design Implementation Testing Operation Maintenance.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2006 Classes and Objects Patrick Bailey Keith Vander Linden Calvin College.
COP Introduction to Database Structures
Business System Development
Entity-Relationship Model
Data Modeling and the Entity-Relationship Model
Relational Database Design by ER- and ERR-to-Relational Mapping
Tables & Relationships
Enhanced Entity-Relationship Modeling
Some Simple Design Modeling Techniques
Enhanced Entity-Relationship Modeling
Methodology Logical Database Design for the Relational Model
Relational Database Design by ER- and EER-to- Relational Mapping
EER Model – Chapter
Entity-Relationship Model
Logical Database Design for the Relational Model
Chapter Design Methodology Pearson Education © 2009.
Tables and Their Characteristics
Database Design – Lecture 4
Entity-Relationship Modelling
Entity-Relationship Model
Outline of the ER Model By S.Saha
IDEF1X Standard IDEF1X (Integrated Definition 1, Extended) was announced as a national standard in 1993 It defines entities, relationships, and attributes.
UML to XSD.
Assignment 4 Map entities with relationships to relational schemas.
Implementation of Entity Relationships
Generalization.
UML UML Data Modeling.
UML UML to Relations.
ERD’s REVIEW DBS201.
Chapter 3 The Relational Model.
Domain Class Diagram Chapter 4 Part 2 pp
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Database Management System
تحليل انظمة و تصميمها الوحدة الخامسة أ.محمد زكي شبير.
Entity-Relationship Modeling
UML Class Diagram.
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relation Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
ISC321 Database Systems I Chapter 10: Object and Object-Relational Databases: Concepts, Models, Languages, and Standards Spring 2015 Dr. Abdullah Almutairi.
UML UML to Relations.
Entity-Relationship Modelling
The Relational Model Transparencies
E-R DIAGRAMS TO RELATIONAL SCHEMA
Database Design and Development
Enhanced Entity-Relationship Modeling Transparencies
Enhanced Entity-Relationship Modeling
CMPE/SE 131 Software Engineering March 9 Class Meeting
Database Processing: David M. Kroenke’s Chapter Five:
DBMS ER-Relational Mapping
Guide to Modeling Keys to E-R diagrams.
Database Management System
Mapping an ERD to a Relational Database
Guide to Modeling Keys to E-R diagrams.
Mapping an ERD to a Relational Database
Chapter 3 The Relational Model
Presentation transcript:

OO models with relational databases How to use UML for modeling and designing a relational data base.

Keep in mind! No standard for UML database modeling exists! (->No tools supports rapid design from model as far as I know) The UML database model is developed from the OO applications UML data model or the other way around The UML database model are not the same model as the UML data model. Different dynamics (That’s why NF process comes in) 18-09-2018

Keep in mind! But work to make them so similar as possible….decreasing the OO-RDB impedance mismatch. Two different techniques are in use and they has different demands to design Conceptually there MUST be no difference Otherwise you may be in d… 18-09-2018

Stereo types and keys Use a key stereotype on class attributes indicating Relational key rolle In Visio 2003 use prefix or suffix in attributes properties Like <<PK>> Primary Key and <<FK>> Foreign Key. 18-09-2018

Visio Example 18-09-2018

Associations and Relationships Same association type: 1..1, 1..N, M..N.. Cardinality use standard rules Type of association Aggregation same as optional participation Composition same as mandatory participation Remember Subject-Target relationship (UML Diamond on target) . Inheritance is Generalization or Specialization be sure to set direction (Super class determines id as <<PK> sub class gets a <<FK>> from Super class) 18-09-2018