Answered step by step
Verified Expert Solution
Question
1 Approved Answer
There are many instances within business software systems where the applications are forced to use Relational Database Management Systems (RDBMS) to store data. Designing
There are many instances within business software systems where the applications are forced to use Relational Database Management Systems (RDBMS) to store data. Designing and implementing an object oriented system can lead to substantial challenges when it comes to persisting objects. Answer the following questions in relation to these challenges. (i) Outline the goals of what is termed Object Relational Mapping (ORM). (ii) Briefly explain what is meant by a top down approach when dealing with ORM and, using an example, discuss three different approaches in which a class inheritance hierarchy could be mapped to a relational model. (iii) Given the following class structure, describe the database tables and their columns that could be used to store instances of both classes. In your answer clearly identify how the association is implemented. Employee employeeNumber name employees 1..* - department 1 Department departmentID name (iv) Describe, using a clearly labelled diagram, the architecture you would use if you planned to use a Data Access Object and an ORM tool such as Hibernate as part of your persistence solution. There are many instances within business software systems where the applications are forced to use Relational Database Management Systems (RDBMS) to store data. Designing and implementing an object oriented system can lead to substantial challenges when it comes to persisting objects. Answer the following questions in relation to these challenges. (i) Outline the goals of what is termed Object Relational Mapping (ORM). (ii) Briefly explain what is meant by a top down approach when dealing with ORM and, using an example, discuss three different approaches in which a class inheritance hierarchy could be mapped to a relational model. (iii) Given the following class structure, describe the database tables and their columns that could be used to store instances of both classes. In your answer clearly identify how the association is implemented. Employee employeeNumber name employees 1..* - department 1 Department departmentID name (iv) Describe, using a clearly labelled diagram, the architecture you would use if you planned to use a Data Access Object and an ORM tool such as Hibernate as part of your persistence solution.
Step by Step Solution
★★★★★
3.31 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
i Goals of Object Relational Mapping ORM Abstraction ORM aims to provide a highlevel objectoriented view of the data abstracting away the details of the relational database Synchronization Ensure sync...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started