-->
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: What is a best practice for writing hibernate persistence?
PostPosted: Mon Jan 22, 2007 1:17 pm 
Newbie

Joined: Wed Jul 05, 2006 8:24 pm
Posts: 6
I am writing some persistence classes for our database and I was given the direction to create interfaces for each entity in the DB then create implementation classes. This seems wrong, and in my opinion you would create abstract classes for entity objects like AbstractPerson instead of interfaces. Does it really make a difference if you create interfaces like PersionIntf and then implement that or extend an Abstract class? I'm curious if there are any best practices for ORM mapping when it comes to writing persistence. Thanks


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.