Hibernate Team |
|
Joined: Tue Aug 26, 2003 6:10 am Posts: 8615 Location: Neuchatel, Switzerland (Danish)
|
first - this is tool related and should be in the tools forum instead ;)
Secondly - yes, equals() is pretty hard to implement on objects which identity changes while inside a Collection since that is illegal according to the Collection API ;(
...I've not yet came up with a good solution for it....one way is just to not override equals and thus fallback on '=='-comparisons instead.
_________________ Max
Don't forget to rate
|
|