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 06:36:13 GMT
> Have I ever told you how much I *hate* using @Transient to describe
> @NotPersistent? Transient is a serialization concept and I have no
> trouble with a field that is both transient and persistent. That is,
> not serialized but stored in the database. So calling something
> @Transient is a big ugly blotch. Because if it's really transient,
> you should mark it in the class as transient.

No. You never told me ;-) nor did anybody else object when those annotations 
were added a longggg time ago.

So why not @NotPersistent ?

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

View raw message