-->
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: Hibernate design question: hibernate objects logical or...?
PostPosted: Mon May 09, 2005 9:47 am 
Newbie

Joined: Thu Sep 16, 2004 9:03 am
Posts: 8
Hello,

Regarding best practices, sometimes there is a gap between database structure and logical model.

Is it best to have hibernate represent the database model and relegate the "swizzling" of the database model into a logical model be done by the application?
Or is it best to have hibernate represent the logical model with a more complex mapping (or using SP's or Views)?

I would appreciate any opinions or suggestions...
thanks,


Top
 Profile  
 
 Post subject: Re: Hibernate design question: hibernate objects logical or.
PostPosted: Mon May 09, 2005 10:02 am 
Expert
Expert

Joined: Mon Feb 14, 2005 12:32 pm
Posts: 609
Location: Atlanta, GA - USA
cmorrise wrote:
Hello,

Regarding best practices, sometimes there is a gap between database structure and logical model.

Is it best to have hibernate represent the database model and relegate the "swizzling" of the database model into a logical model be done by the application?
Or is it best to have hibernate represent the logical model with a more complex mapping (or using SP's or Views)?

I would appreciate any opinions or suggestions...
thanks,


Hibernate should represent your business model.


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.