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