[jboss-dev-forums] [Design of EJB 3.0] - Re: Redesign extended persistence context

gavin.king@jboss.com do-not-reply at jboss.com
Tue Aug 28 20:39:16 EDT 2007


"bstansberry at jboss.com" wrote : "wolfc" wrote : Given those rules an entity drawn from a xpc and directly refered (from a field) by a SFSB must act as I said. 
  | 
  | JPA 3.2.4 says serializing an entity "may result" in a detached entity; it doesn't say it must. So, seems to me we have flexibility.

When the JPA spec talks about serializing entities it is definitely not talking about any serialization that might happen during passivation (that is an implementation detail of the container and is not visible to, or part of the contract with, the application).

What it is talking about is entities returned by remote method. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078966#4078966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078966



More information about the jboss-dev-forums mailing list