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 Thu, 19 Jul 2007 05:11:52 GMT
> Overriding inherited fields :-
> One other area if you really want to provide annotations with the full
> capability that XML has. In XML you can override (inherited) fields
> persistence specifications in subclasses. With Annotations this currently
> isn't possible. This could be remedied by changing the specification of
> @Field/@Property (@Persistent) to be for  ElementType.TYPE too.

except that we would need an @Fields (@Persistents ???) to allow an array
or maybe have "fields"/"properties" under @PersistenceCapable

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

Mime
View raw message