RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Norton Lam
Message- From: danch (Dan Christopherson) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 5:14 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Primary Key warnings /** * Hash code method. */ public int hashCode() { return(super.hashCode

RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Rafael Alves Chaves
getting the same warnings. Any other suggestions? Thanx. Norton -Original Message- From: danch (Dan Christopherson) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 5:14 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Primary Key warnings /** * Hash code

RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Rafael Alves Chaves
No... The _guid property is private. I've overridden the toString() method to return a _guid.toString(). Ok, but an instance of a class have full access to private fields of another instances of the same class. Norton, could you show us the complete code for GUID class? Bye,

RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Norton Lam
to check for the override of these methods generically. Thanx to everyone that tried to help. Norton P.S. Dain, I'm using BMP for the moment... -Original Message- From: Dain Sundstrom To: '[EMAIL PROTECTED]' Sent: 5/18/01 1:44 PM Subject: RE: [JBoss-user] Primary Key warnings Norton, I

Re: [JBoss-user] Primary Key warnings

2001-05-17 Thread danch (Dan Christopherson)
/** * Hash code method. */ public int hashCode() { return(super.hashCode()); } This is the problem. This is delegating to the Object.hashCode method that uses the object's address as its input, so when the verifier tries to verify that your hashCode method is right (by