db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject Passing null to makePersistent, detachCopy, makeTransient etc
Date Wed, 04 Oct 2006 13:30:36 GMT
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 that, nor are there any TCK 
tests. Any ideas ?

-- 
Andy

Mime
View raw message