db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Ezzio (asmtp)" <dez...@bea.com>
Subject Re: JDO 2.1 specification draft can be reviewed...
Date Mon, 13 Aug 2007 15:19:44 GMT

Andy Jefferson wrote:
> Hi,
>> I'd like to see others' reaction to this proposal as well.
>>> 	String getObjectState(Object pc)
> I clearly think it's a good idea since that's why JPOX has it ;-)
> Anything that adds more information to the user domain and more clearly 
> defines the object states is a good thing.


> I agree with the principle of making the return an enum (for the "api21" jar - 
> obviously can't be like that in the legacy jar since that has to support 
> 1.3+). The only issue is that HOLLOW and P_NONTRANS have the same 
> combinations of the various "isPersistent", "isTransactional", etc fields and 
> that is why the JPOX method outputs "hollow / persistent-nontransactional"

Since we have always drawn a distinction, perhaps unwisely, between 
hollow and PNT, we'll just have to follow that path.


View raw message