-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate related design questions
PostPosted: Sun Feb 22, 2009 6:50 am 
Newbie

Joined: Wed Dec 24, 2008 1:29 pm
Posts: 7
1. Are you using the same data objects both in persistence layer (Hibernate) and GUI? Are your GUI programmers use data objects “as is” or extend them? How do you ensure that setters are called in Hibernate only, not in GUI?
2. I implemented data objects state change in DAOs only – in order to ensure that every change in every object will be persistent immediately. Is it a good idea?
3. I’m using SpringTemplates for hibernate, it saves a lot of exception handling code, but what is the best way to handle error situations in this case?
4. What is the best way to create mockup objects for unit tests? If in my code objects ids are assigned by a database, where and who should assign id for mockup objects?


Thank you


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

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.