Hi Manfred,
Which child is missing in getCount()? Is it the first one that was
created with parent? If yes, are you making sure that relationships are
set from both sides ?
>Also in the code below, if I remove he "p1.setSerialNumber" invocation
the problem does not occur.
Is that the version field? If yes, you are not suppose to update it
(Refer to section 3.4.2 of JPA 1.0 spec)
-Mitesh