We have a very complex legacy relational data model, that does not map directly into objects. We also have God objects very weak cohesion.
The intension is to break these God Objects up. But we may be left with a situation where we have a object which will need to be persisted to multiple tables, some of these tables will map to business objects.
We will have rows that match to objects but we will need to extract that information into a object.
I guess hibernate uses joins, but would appreciate a link to this subject. How Hibernate copes with what could be complex multiple joins, or are views a better option.
Although we will look at refactoring the God Classes we may not be able to refator too much, time constraints.
Thanks for any links.
|