There are many instances within business software systems where the applications are forced to use Relational Database
Question:
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 bow the association is implemented.
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.
v) Outline four features that you would expect to find in any commercial ORM tool.