users@glassfish.java.net

RE: RE: Re: Persistence, ignoring a class field

From: Jason Lee <lee_at_iecokc.com>
Date: Tue, 9 Jan 2007 14:20:09 -0600

> Do you mean WRT serialization or persistence? With
> field-based access neither should be persisted surely? That's
> always been my understanding and also how I'd interpret the
> paragraph from the spec that Kenneth posted.

We were trying to avoid persisting a field in a JPA entity bean and
couldn't figure why it wasn't working. We finally realized we had
"transient", which affects serialization, and not "@Transient" which
affects JPA persistence...

-----
Jason Lee, SCJP
Programmer/Analyst
http://www.iec-okc.com