I would like the database to handle this kind of problems.There are two solutions:
- If a node is stored, the node is upodated with new data if the field is not-null and the value is. - If a node is created, all non-null fields are filled with a default value. The storagemanager should throw an exception if the nodes still contains null-values for some reason.
Maybe you could set a default value if appropriate, otherwise you would expect a database exception.
It would be nice if the storage layer could abstract database exceptions, so that you can handle database exceptions within MMBase in the same way for all different databases.
just a thought, Rob
