







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Relation database Java Representation
One to One Store worksAt = new Store(“BB”, UC);
One to many Employee.worksOn = new Set
Many to Many Almost all ORMs do not support many to many relationship. So most people have to hack there way around it. OR An easier way is to represent an the M-t-M as an entity class in the ERD.
Three ways to do it:
Impossible to load desired objects only.
tables, rows, and columns
cannot be represented in tables, rows, or
columns.
(i.e., methods) and pointers
OO vs. RM DBs
programmers.
command equivalent to the SQL-update.
Select distinct e.ssn from Employees e where e.lastname = “Booyaa”