Hi,
On 8/18/07, Mark Waschkowski <[EMAIL PROTECTED]> wrote:
> "Do you understand what I mean with this?"
> Yes, I do. IMO this isn't a matter of making things more complicated, its a
> matter of what I perceive is a flaw with the API. Again, without nulls we
> have had to do a number of workarounds that would not have been otherwise
> required, and not only that but I find the behavior undesirable in the
> general case.
Could you describe what kinds of workarounds you've needed? Apart from
search the only workaround I believe is needed to emulate the SQL
model is:
Value getValue(Node node, String name) throws ... {
try {
return node.getProperty(name).getValue();
} catch (PathNotFoundException e) {
return null;
}
}
BR,
Jukka Zitting