-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: mapping a single object to mulyiple tables
PostPosted: Tue Oct 06, 2009 2:33 pm 
Newbie

Joined: Tue Oct 06, 2009 2:03 pm
Posts: 7
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.


Top
 Profile  
 
 Post subject: Re: mapping a single object to mulyiple tables
PostPosted: Wed Oct 07, 2009 12:32 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

no idea what you mean with God classes and I don't think this really belongs to this forum. If it all you should try the main Hibernate User forum. Have you read the Hibernate online documentation? And if you really want to dig into Hibernate get a copy of Java Persistence with Hibernate.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.