Thread:
 Easier implementation using commons-lang 
 thorstenschaefer   16 Jan 2004, 12:07 
 Re: Easier implementation using commons-lang 
 lhotari   16 Jan 2004, 13:20 
 Re: Easier implementation using commons-lang 
 RobJellinghaus   26 Feb 2004, 19:15 
 Re: Easier implementation using commons-lang 
 crbaker   20 Jul 2005, 02:15 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: RobJellinghaus (26 Feb 2004, 19:15) Replies: 0, Views: 37398
Subject: Re: Easier implementation using commons-lang
On 16 Jan 2004 13:20, lhotari wrote:

>On 16 Jan 2004 12:07, thorstenschaefer wrote:

>>Hi,

>>The commons-lang package from apache contains builder for equals and
>>hashCode (beside others) which can be used for efficent and straight-
>>forward implementation of these methods.

>http://commonclipse.sourceforge.net/ is an eclipse plugin that generates
>code for commons-lang builders.

This issue has nothing to do with *how* you build the methods, and
everything to do with *which properties you use* to build the methods. 
Hence, commons-lang can't help with the fundamental issue of defining
your identity fields (which can't be either plain old Java identity, nor
plain old persistent identity!).
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]