Object Relational Mapping Tools

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Chapter 10: Designing Databases
Geographic Information Systems
Object-Oriented Databases
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 4 Relational Databases and Enterprise Systems
Data Persistence and Object-Relational Mapping Slides by James Brucker, used with his permission 1.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Enterprise Object Framework. What is EOF? Enterprise Objects Framework is a set of tools and resources that help you create applications that work with.
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.
11 1 Object oriented DB (not in book) Database Systems: Design, Implementation, & Management, 6 th Edition, Rob & Coronel Learning objectives: What.
Data Access Patterns Some of the problems with data access from OO programs: 1.Data source and OO program use different data modelling concepts 2.Decoupling.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Database Management System Lecture 4 The Relational Database Model- Introduction, Relational Database Concepts.
Object Oriented Analysis and Design 1 Chapter 7 Database Design  UML Specification for Data Modeling  The Relational Data Model and Object Model  Persistence.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Chapter 12: Designing Databases
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
Database Design Some of these slides are derived from IBM/Rational slides from courses on UML and object-oriented design and analysis. Copyright to the.
Object Oriented Database By Ashish Kaul References from Professor Lee’s presentations and the Web.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Object storage and object interoperability
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Jennifer Widom Relational Databases The Relational Model.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Hibernate Java Persistence API. What is Persistence Persistence: The continued or prolonged existence of something. Most Applications Achieve Persistence.
Relational vs. Object Oriented Database Management System Syazwani Nur Dayana Nur Fatin Syafiqa M3cs2305B.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Introduction to Database Programming with Python Gary Stewart
12. Chapter 12: Designing Databases Systems Analysis and Design in a Changing World, Fourth Edition 12.
Geographic Information Systems GIS Data Databases.
SELECT, IMPLEMENT & USE TODAY’S ADVANCED BUSINESS SYSTEMS
Databases and DBMSs Todd S. Bacastow January
CompSci 280 S Introduction to Software Development
New Technology: Why, What ,How
Introduction to Entity framework
Visual Basic 2010 How to Program
Introduction to Entity Framework
CS320 Web and Internet Programming SQL and MySQL
Basic Database Concepts
Information Systems Today: Managing in the Digital World
Object-Oriented Database Management System (ODBMS)
Continuous Random Variables
POOL persistency framework for LHC
Chapter 4 Relational Databases
Geographic Information Systems
Final Project Presentation
CS 174: Server-Side Web Programming February 12 Class Meeting
واشوقاه إلى رمضان مرحباً رمضان
Accounting System Design
Database Fundamentals
Continuous Random Variables
Relational Databases The Relational Model.
Relational Databases The Relational Model.
Systems Analysis and Design
Accounting System Design
ITEC 3220A Using and Designing Database Systems
Topic 12 Lesson 1 – Data and databases
DBMS ER-Relational Mapping
Chapter 11 Managing Databases with SQL Server 2000
Chapter 3 Database Management
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Geographic Information Systems
Presentation transcript:

Object Relational Mapping Tools * 07/16/96 This presentation will probably involve audience discussion, which will create action items. Use PowerPoint to keep track of these action items during your presentation In Slide Show, click on the right mouse button Select “Meeting Minder” Select the “Action Items” tab Type in action items as they come up Click OK to dismiss this box This will automatically create an Action Item slide at the end of your presentation with your points entered. Object Relational Mapping Tools [Sivakumar Natarajan] 4/17/2019 *

* 07/16/96 Introduction OO is the predominant approach used to build mainstream B systems RDBMS are the most prevalent implementation of data stores OO design models problem domain as real-world objects, RD development is to normalize data O-R modelling is a necessary but not sufficient to build strong and flexible systems 1) Object-oriented and object-based technology is the predominant approach used to build mainstream business systems 2) Relational database management systems are the most prevalent implementation of back-end physical data stores for business applications 3) objective of relational database development is to normalize data whereas the goal of object-oriented design is to model the problem domain as real-world objects. The result is an object-relational chasm. 4) The utilization of a scaleable and flexible mapping framework is a critical success factor for object-relational systems 4/17/2019 *

Relational Terminology * 07/16/96 Relational Terminology Relation Attribute Domain Tuple<Person SSN# = "123-45-6789" Name = "Art Larsson" City = "San Francisco"> Attribute Value Relation Value Relation Variable Database Base Relation Values Derived Relation Values 4/17/2019 *

Relational Database Design * 07/16/96 Relational Database Design The relational model is composed of entities and relations. Figure 1 illustrates LINEITEM and PRODUCT tables and various relationship between them An entity has columns. Each column is identified by a name and a type. In the example, the LINEITEM table has Description, Id, Number, Order_Id, and Quantity columns An entity has records or rows. Each row represents a unique tuple of information which typically represents an object's persistent data. Each entity has one or more primary keys. The primary keys uniquely identifies each record (e.g. Id is the primary key for LINEITEM table). Support for relations is vendor specific. The example illustrates the logical model and the relation between the PRODUCT and LINEITEM tables. In the physical model relations are typically implemented using foreign key / primary key references. If one entity relates to another, it will contain columns which are foreign keys. Foreign key columns contain data which can relate specific records in the entity to the related entity. Relations have multiplicity(also known as cardinality). Common cardinalities are one to one (1:1), one to many (1:m), many to one (m:1), and many to many (m:n). In the example, LINEITEM has a 1:1 relationship with PRODUCT and PRODUCT has a 0:m relationship with LINEITEM. Figure 1 4/17/2019 *

Object Modeling Terminology * 07/16/96 Object Modeling Terminology Identity State Behavior Encapsulation Type Associations Class Inheritance 4/17/2019 *

* 07/16/96 Object Model Design An object model contains classes Figure 2 illustrates a simple object model. The LineItem class has attributes and behavior. LineItem implements the behavior (method) calculateTotal Relationships in an object model are explicitly represented as attributes. The LineItem class has an attribute product. The product attribute contains an instance of the Product class (or one of its subclasses). There is no relationship navigation through primary/foreign keys as required in relational databases. The object model supports inheritance. A class can inherit data and behavior from another class (e.g. SoftwareProduct and HardwareProduct products inherit attributes and methods from Product class). Figure 2 4/17/2019 *

Objects integrated into the Relational Model * 07/16/96 Objects integrated into the Relational Model Why do we want to do it? What are the advantages in doing it? What are the disadvantages in doing it? Is there any help available? 4/17/2019 *

Java Blend v2.0 Components are: Mapping tool: A GUI for mapping between database schema and Java programming language classes The Preprocess program: The preprocess program - Preprocesses .xjava Java programming language source files and .oql OQL source files Runtime libraries - Accessed by means of the Java Blend API, a set of Java language routines for access to Java Blend objects, and the underlying database. Application programmers use these methods. 4/17/2019

Java Blend Example application that queries and updates data about customers and their sales orders. CREATE TABLE customer { custid INTEGER NOT NULL, address VARCHAR (50), rep INTEGER, PK_custid PRIMARY KEY (custid), FK_salesrep FOREIGN KEY (rep) REFERENCES salesrep (repid) ) } Equivalent class is class Customer implements PersistenceCapable { int custID; String address; SalesRep rep; }; 4/17/2019

Java Blend Resources http://www.sun.com/software/javablend 4/17/2019

Top Link for Java Features: Transparent Persistence Object-data mapping solution EJB persistence solution Enterprise data integration Mapping workbench optimistic and pessimistic locking object level transactions application server integration and portability real-time performance 4/17/2019

Visual Mapping workbench 4/17/2019

Foundation Library for Java TopLink for Java Foundation Library is an object-relational framework, which facilitates the construction of an object-oriented system that can store its objects/data in a relational database. 4/17/2019

Top Link Resources Http://www.objectpeople.com 4/17/2019

Other Tools JRB (Java Relational Binding) -- Ardent Data Director for Java (DDJ) -- Informix/IBM UDE (Universal Development Env)--Formida Free Software Power Tier-- Persistence Oracle Designer 2000--Oracle Jasmine -- Computer Associates SQL Object Factory -- POET Software VBS Framework -- ObjectMatter Inc. 4/17/2019

Persistence PowerTier Example to be included: 4/17/2019