Thread:
 hbm2java and best practice.. 
 hooverphonique   12 Feb 2004, 17:04 
 Re: hbm2java and best practice.. 
 emmanuel   12 Feb 2004, 19:11 
 Re: hbm2java and best practice.. 
 RobJellinghaus   26 Feb 2004, 19:14 
 Re: hbm2java and best practice.. 
 christian   01 Mar 2004, 22:45 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: RobJellinghaus (26 Feb 2004, 19:14) Replies: 0, Views: 41737
Subject: Re: hbm2java and best practice..
On 12 Feb 2004 19:11, emmanuel wrote:

>On 12 Feb 2004 17:04, hooverphonique wrote:

>>You discourage the use of the id (primary key attribute) in the equals
>>method, but hbm2java does exactly that.. does that mean that you
>>discourage the use of hbm2java and/or the apache builders?

>We encourage the hand writing of equals and hashcode. You can use apache
>builder to do that.

hbm2java needs better support for this, then, and the hbm2java
documentation needs to reference this wiki page, as it's totally not
obvious to any hbm2java user right now that this issue exists.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]