Imaginative Blog Name: Liskov's Substitution Principle, equals, and Hibernate Proxies
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!
1 members have saved this link, 1 have saved it publicly
oneviewer 1 - 1
of 1
| page 1
Imaginative Blog Name: Liskov's Substitution Principle, equals, and Hibernate Proxies
saved on Dec 10, 2008 at 5:19 AM EST
Description:
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!
oneviewer 1 - 1
of 1
| page 1



