-->
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: Multiple DAOs neccessary?
PostPosted: Mon Dec 26, 2005 5:12 pm 
Newbie

Joined: Fri Dec 02, 2005 6:12 pm
Posts: 1
I'm just wanting to get the opinion of some of you folks experienced with this before I go off doing something that might be really dumb. It seems to be standard practice to use a different DAO for each class you need stored in a database. I understand the reason for this in most cases, but hibernate allows you to find any kind of class with a get or a find call. Would creating a single DAO that can handle any class be beneficial, or are there serious disadvantages to doing so?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 26, 2005 5:45 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/328.html


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.