db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Re: DetachOnClose, DetachAllOnCommit
Date Fri, 23 Sep 2005 14:26:09 GMT
Hi Andy,

DetachOnClose is no longer alive, and the three parenthetical places  
where it still exists in the spec will be corrected for the next  
spin. It has been replaced by DetachAllOnCommit.

There should be both setters and getters in both PM and PMF. The  
recent patch from Matthew Adams has these.



On Sep 23, 2005, at 3:18 AM, Andy Jefferson wrote:

> The latest downloadable spec (09-09-2005) refers to 2 properties
> "DetachOnClose" and "DetachAllOnCommit".
> The first of these properties seems to have no setter/getter or PMF
> "javax.jdo.option.XXX" property (and is only mentioend in one place  
> in terms
> of the behaviour, not of how the JDO implementation is supposed to  
> allow it
> to be set).
> The second has a "javax.jdo.option.DetachAllOnCommit", setter/ 
> getter on the
> PM, setter/getter on the Transaction. Is this also supposed to have  
> a PMF
> setter/getter ?
> Can someone please clarify whether both of these are part of the  
> spec now ? or
> whether the DetachOnClose has indeed been replaced.
> Thanks
> -- 
> Andy

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message