db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <d...@solaraccess.com>
Subject Re: Torque BaseObjects' sons have wrong hashCodes ?!
Date Tue, 16 Mar 2004 13:21:43 GMT
On Tue, 2004-03-16 at 05:37, Giulio Vezzelli wrote:
> I'm trying to use hashCode() to identify business objects generated by
> Torque...

Why?

> When the object is instantiated as a New User(), if I check hashCode()
> immediately after instantiation the integer returned is different every time
> I call hashCode() !!!

I don't know how it's generated, but perhaps it uses values in the
fields and when empty... does something else?

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message