Imaginative Blog Name: Liskov's Substitution Principle, equals, and Hibernate Proxies

« back
http://cwmaier.blogspot.com/2007/07/liskov-substitution-principle-equals.html
Hibernate's CGLIB dynamic proxy classes reared their ugly head today. I've been using the Eclipse-generated hashcode() and equals() methods in my domain objects for quite a while, with no problems. Then today I write a test that does a simple equality check and everything blows up!
discovered on 12/10/2008 | Last saved on 12/10/2008 | Saved private: 0 x

Public saved from

oneview member: MrJava
MrJava

Comments

 
To add a comment or an answer, you need to login