|
From: Max R. A. <max...@jb...> - 2006-05-05 10:49:57
|
On Fri, 05 May 2006 12:26:27 +0200, Mario Ivankovits <ma...@op...> wrote: > Max Rydahl Andersen schrieb: >> could probably just be solved with a proper equals/hashcode impl > Yes, I also thought about it, but also thought you'll consider this as a > hack ;-) > But with the "subclass" problem in mind it might be easier to solve it > that way. > > What do you think about an abstract class named > StatelessResultTransformer which will implement equals hashcode by > delegating to class.hashCode() and class.equals(). No. it should just implement a proper equals/hashcode, no need to introduce a new class. -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate ma...@hi... http://hibernate.org JBoss Inc max...@jb... |