db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject Re: DISCUSS remove @Field and @Property; add @Persistent
Date Wed, 18 Jul 2007 20:46:18 GMT
Hi Craig,

> It might be a good time (as we're almost done with this) to replace
> @Field and @Property with @Persistent. That would make it easier to
> describe that either a field or property is being described.

While I agree totally with merging @Field and @Property, the use of 
@Persistent is not appropriate. 

@PersistenceCapable
public class MyClass
{
    @Persistent(persistenceModifier=FieldPersistenceModifier.NONE)
    String someFieldThatIsNotPersistent
}


so I tag a field that is not persistent with @Persistent ?

Any other idea for name? that suggests field/method/property ?



-- 
Andy  (Java Persistent Objects - http://www.jpox.org)

Mime
View raw message