Hashcode() for Transaction not implemented |
Hello,
I tried using an Atomikos Transaction as a key to an CHM, but found that hashcode() method was not overridden, and just the equals method was. Can you please override this, possible something like
public int hashCode() { return tid.hashCode() }
This would help alot!
Nabib El-Rahman
Friday, February 19, 2010
Thanks,
This is indeed a subtle bug: TransactionImp.java does implement hashCode but delegates to another object that doesn't override the Object default.
I scheduled a fix for our next 3.6.2 maintenance release.
Cheers
Guy Pardon
Saturday, February 20, 2010
OK,
Our 3.6.2 is out and fixes this one.
Guy Pardon
Tuesday, February 23, 2010
|