From: Gavin_King/Cirrus%<CI...@ci...> - 2002-08-14 03:58:07
|
>1) I have a class with a collection. When I load the class, hibernate tries >to update the foreign key on the collection table (and tries to set it to >NULL no less). Here's the mapping: John, I have spent a couple of hours playing around with two different versions of Hibernate and I just can't reproduce this... (1) Are you really, really certain you don't meddle with the collection somewhere? On the basis of the code you presented, the lazy="true" collection should not even be getting *initialized*, let alone removed! (2) Could you please forward me the all the code which is needed to reproduce this very naughty behaviour. (3) Could you let me know which version I am meant to be testing against. Please get back to me ASAP because this is playing on my mind.... Thanks Gavin. |