> Then I would say that's a bug in your JPA implementation. To
> requote from the spec (section 2.1.1):
>
> "All non-transient instance variables that are not annotated
> with the Transient annotation are persistent."
>
> which would imply that all *transient* instance variables
> should not be persisted. The java spec doesn't specifically
> define transient as applying only to serialization either:
> http://java.sun.com/docs/books/jls/third_edition/html/classes.
> html#8.3.1.3
Very interesting. We're using Hibernate as our JPA impl, as Top Link
Essentials (at least at the time) didn't seem to like sequence
generators with PostgreSQL.
-----
Jason Lee, SCJP
Programmer/Analyst
http://www.iec-okc.com