Thanks marina,
I did some more investigation - you are correct it is being serialized. Unfortunately there is still a problem. I want to use the @Transient field in the @PrePersist/_at_PreUpdate callback for this entity, and it is at this point that the @Transient field is null.
It would seem that when the em.merge() call is made the transient fields are not available in the @PrePersist callback on the managed entity. Is this correct behaviour?
Thanks
Cameron
[Message sent by forum member 'cameronr' (cameronr)]
http://forums.java.net/jive/thread.jspa?messageID=225847