Joined objects support in ObjectTableDAO

+ refactoring