Kees Jongenburger <[EMAIL PROTECTED]> wrote:
> Generaly speaking while importing data in a database the database wil not be 
> constistent
> only after the full import we can check if the database is constistent. so I think 
> we can not say
> "foreign keys myst be nullable, otherwise NODE imports cannot work"
>
It might be a little bit a too strong assertion to be generally true. But in the 
current MMBase
implementation I think it is the simplest solution

> I am not saying we sould put the change back, I am just interrested in what the 
> real/good solution would be
> sould we use a database transaction for this?

That would sound great. I think that mysql has no good support for transactions yet?

 Michiel

-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL, eo, en_US
mihxil'
[]()

Reply via email to