Re: [JBoss-dev] Verify primary key implements equals and hashCode

2003-03-27 Thread Christian Riege
hi dain, On Thu, 2003-03-27 at 02:37, Dain Sundstrom wrote: Who maintains the verifier? i do. shall i integrate yours/victors proposal? best regards, christian --- This SF.net email is sponsored by: The Definitive IT and

Re: [JBoss-dev] Verify primary key implements equals and hashCode

2003-03-27 Thread Victor Langelo
Dain Sundstrom wrote: On Wednesday, March 26, 2003, at 09:29 PM, Victor Langelo wrote: I haven't read Effective Java, but this won't work for us. We intentionally create derived primary key classes for each entity. These are derived from generic pk classes when the primary key data is a

RE: [JBoss-dev] Verify primary key implements equals and hashCode

2003-03-27 Thread Jeremy Boynes
] [mailto:[EMAIL PROTECTED] On Behalf Of Dain Sundstrom Sent: Wednesday, March 26, 2003 9:35 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] Verify primary key implements equals and hashCode On Wednesday, March 26, 2003, at 09:29 PM, Victor Langelo wrote: Dain Sundstrom wrote: After

[JBoss-dev] Verify primary key implements equals and hashCode

2003-03-26 Thread Dain Sundstrom
After some email with Bill, it looks like we can use Class.getDeclaredMethods to find which method the class implements (you learn something new every day). It specifically excludes inherited methods, so we can use it to verify if a primary key has actually implemented hashCode and equals.

Re: [JBoss-dev] Verify primary key implements equals and hashCode

2003-03-26 Thread Victor Langelo
Dain Sundstrom wrote: After some email with Bill, it looks like we can use Class.getDeclaredMethods to find which method the class implements (you learn something new every day). It specifically excludes inherited methods, so we can use it to verify if a primary key has actually implemented

Re: [JBoss-dev] Verify primary key implements equals and hashCode

2003-03-26 Thread Dain Sundstrom
On Wednesday, March 26, 2003, at 09:29 PM, Victor Langelo wrote: Dain Sundstrom wrote: After some email with Bill, it looks like we can use Class.getDeclaredMethods to find which method the class implements (you learn something new every day). It specifically excludes inherited methods, so