18.01.2015 Views

Apartado 3.6: Conceptos Avanzados de Hibernate

Apartado 3.6: Conceptos Avanzados de Hibernate

Apartado 3.6: Conceptos Avanzados de Hibernate

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tablas<br />

(PK)<br />

(FK)<br />

<strong>de</strong>pId dirId name creationDate version Tabla = Department<br />

Relación “Department(0..1)--[Dirigido por]-->Employee(0..1)”<br />

(PK)<br />

(FK)<br />

Relación “Department(0..1)Employee(0..N)”<br />

empId <strong>de</strong>pId firstName lastName position salary version Tabla = Employee<br />

Herencia entre Employee y DistinguishedEmployee<br />

empId<br />

(PK, FK)<br />

empId mentionDate comment Tabla = DSTEmployee<br />

(PK, FK)<br />

(PK, FK)<br />

prjId Tabla = EmpPrj<br />

Relación “Employee(0..N)Project(0..N)”<br />

(PK)<br />

prjId name startDate endDate version Tabla = Project

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!