Do it like Hibernate or TopLink or other ORM solutions.
Better yet, just use those.
Question
If we are to map our db schema to java layer , should it be a hierarchy of domain objects or association between domain object.
Solution
Do it like Hibernate or TopLink or other ORM solutions.
Better yet, just use those.