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: christian (01 Mar 2004, 22:45) Replies: 0, Views: 40925
Subject: Re: hbm2java and best practice..
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?

hbm2java has _configurable_ support for equals()/hashCode() generation.
The default included the database identifer, which wasn't a good idea.
This is now fixed in CVS and in the next release of Hibernate Extensions.
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]