Hi Andy,
On Oct 4, 2006, at 6:30 AM, Andy Jefferson wrote:
Hi,
Basic stuff here ;-) ... what is the expected behaviour when calling
PM.detachCopy(null); ?
is it to return a null, or throw a JDOUserException ?
Same applies to any of the basic PM persistence methods
(makePersistent,
deletePe
> I would expect they return null. I found the following in the spec,
> section "12.6 Interface PersistenceManager" on page 110":
Thanks Michael!
That's what they do but just couldn't find that section to make my mind up :-)
--
Andy
Hi Andy,
I would expect they return null. I found the following in the spec,
section "12.6 Interface PersistenceManager" on page 110":
Null management
In the APIs that follow, Object[] and Collection are permitted parameter
types. As these may contain nulls, the following rules apply.
Null ar
Hi,
Basic stuff here ;-) ... what is the expected behaviour when calling
PM.detachCopy(null); ?
is it to return a null, or throw a JDOUserException ?
Same applies to any of the basic PM persistence methods (makePersistent,
deletePersistent, etc).
Can't find an explicit statement in the spec for