IIRC, it creates two primary keys with the default constructor,
and the code goes something like:

        if(!new PK().equals(new PK()))
                throw Exception;

        So it may also be the case that two PKs with the same value are
not evaluating as equal.

Aaron

On Wed, 25 Oct 2000, Wes Mckean wrote:
> The verifier is complaining that I must override the method equals in the
> primary key.  I added it, and it is still complaining.  Any ideas are
> appreciated.
> 
> public boolean equals( Object obj );
> 
> Wes
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to