[ojb-users] 1:n mapping with 0 or null
Brought to you by:
thma
From: Juergen L. <jli...@un...> - 2002-04-15 09:39:54
|
Hello, I have gor a 1:n mapping with two objects a group and its persons The group has a vector and the person hat an Interface and an long value = for the groupId Starting the program, createing users without a group everything is fine. But if I stop the server and start it again. Then The Person has a = reference to a group with Id 0 But this group dosn't exist, so there will be an error. What can I do to solve the problem?? |