Eclipse 3.2 generates them without a plugin. It also assumes the
superclass has a non-abstract equals, but it is easy to correct.

        -----Original Message-----
        From: Jason Brice [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, February 22, 2007 10:49 PM
        To: users@appfuse.dev.java.net
        Subject: Re: [appfuse-user] Does Hibernate still require
equals() and hashCode()?
        
        
        > Anyone know if there's a better choice that Commonclipse?
        
        I like Commons4E (h/t Gary White). 
        
        Jason
        
        
        
        On 2/22/07, Dean Jackson < [EMAIL PROTECTED]> wrote: 


                Also along the same lines, the tutorial recommends
Commonclipse (Eclipse 
                plugin to create functions for equals, hashCode,
toString).  However,
                Commonclipse generates code for equals and hashCode that
tries to
                instantiate the super class BaseObject, which is
abstract.
                
                Anyone know if there's a better choice that
Commonclipse? 
                
                
                masterg007 wrote:
                >
                > Matt:
                > Does Hibernate still require that these three methods
below are still
                > added
                > to your domain classes:
                >     public boolean equals(Object o)
                >     public int hashCode()
                >     public String toString()
                >
                > The reason I am asking is that I noticed that they
were not used in your
                > KickStart sample app code.
                >
                > - Paul
                > 
                >
                
                --
                View this message in context:
http://www.nabble.com/Does-Hibernate-still-require-equals%28%29-and-hash
Code%28%29--tf3275322s2369.html#a9113026 
                Sent from the AppFuse - User mailing list archive at
Nabble.com.
                
        
---------------------------------------------------------------------
                To unsubscribe, e-mail:
[EMAIL PROTECTED]
                For additional commands, e-mail:
[EMAIL PROTECTED]
                
                


Reply via email to