Hi Max!
>> 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.
Ok, I'll do so, though I am not happy with this.

Not implementing those methods will not make the system fail, but will
result in unnecessary database requests.
And its damn hard to figure out why this happen, not only for you (the
developers) but also for the user - if not impossible for them.
This again might result in additional user posts in your forum.

Introducing two new methods to the ResultTransformer interface would be
great, though, I know that such interface changes are bad.
For now, I'll add this to the ResultTransformer javadoc. Hopefully the
users read them.

Thanks for your assistance!
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