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().

Hibernates default transformer should extend from this class then. The
user can make it statefull (if required) by overriding hashCode() equals().


Ciao,
Mario



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to