Hello,
is there a way to return
null instead of a UnresolvableObjectException being thrown when a foreign key refers to a key that doesn't exist (anymore).
I know that this situation should not occur when using a decent dbms but i'm working with a legacy db that was setup with flaws. Deleting these corrupt relations is a solution. But at this moment i'm looking for a way to solve this problem without deleting data.
I found two topics that in some way cover this problem but don't have a solution :
http://forum.hibernate.org/viewtopic.php?t=931706 and
http://forum.hibernate.org/viewtopic.php?t=924415
Hibernate version:
2.1.6