Hi Matthew,
Yes, I remember that now. I also remember never quite understanding why 0 is
an invalid value. It seems to me that 0 would result in a no-op as far as
recursion goes. Why is that an error? It might be dumb, but I don't think it
has to be an error.
Just for my understanding:
you propose a recursion-depth of 0 means the corresponding field is not
fetched at all, correct? This would mean it is treated as if the field
was not included in the fetch-group.
Regards Michael
----- Original Message ----
From: Andy Jefferson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [email protected]
Sent: Wednesday, March 5, 2008 9:54:57 AM
Subject: Re: JDO 2.1 review: recursion-depth
I
think
it
would
be
helpful
to
add
the
description
of
a
recursion-depth
value
of
zero
to
section
12.7.4.
Values
-1
and
1
are
discussed,
but
the
subsequent
example
uses
a
value
of
zero,
which
is
special
enough
a
value
to
be
called
out
explicitly.
Well
I'd
just
fix
the
example
:-).
A
value
of
0
is
invalid
isn't
it?
-1
is
unlimited,
and
a
positive
integer
is
a
finite
number
of
levels.
That's
all
we
can
have.
I
think
0
used
to
represent
infinite
levels
some
time
back
but
was
changed
to
-1
see
item
22
in
the
Changelog
http://jcp.org/aboutJava/communityprocess/maintenance/jsr243/243ChangeLog.html
--
[EMAIL PROTECTED] Engineering GmbH Tel.: +49/(0)30/235 520-33
Buelowstr. 66 Fax.: +49/(0)30/217 520-12
10783 Berlin mailto:[EMAIL PROTECTED]
Geschaeftsfuehrung: Martin Weber
Sitz Berlin, Amtsgericht Charlottenburg, HRB 564 52