Is this really possible in hibernate? How can the row in the child table be null but still have a fk to the parent table? One way of solving it would be to do it yourself in your domain. Keep/Map the number 5 (in your example) in the parent object/table, check how many entries there are in the list and add the "lack of entries" with null before returning the list to the consumer. Ugly - but that would work I guess. /Roger
________________________________ Från: [email protected] genom srf Skickat: to 2008-09-11 00:15 Till: nhusers Ämne: [nhusers] null entries in lists and dictionaries we need to be able to save null entries in a list and dictionaries but we found that nhibernate would just throw away the null values but we need them for consistency , ie , if I save a list with 5 entries and 2 of them are nulls then I would expect to get back 5 entries. Does anyone know if this is an issue or how we can handle this case. On the java side hibernate supports it so I was wondering if this is something that is supported in nhibernate. thanks scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
<<inline: winmail.dat>>
