|
|
SWF 2.0.0: ViewState PersistenceContext (?)
Hi,
I find the SWF 2.0 docs are very slim on describing the Persistence patterns. There is mention that ViewState PersistenceContext is possible, yet it is only a quick paragraph and does not explain how set it up. What do we need to do to the XML and flow config to get this working ?
I have been using flow scoped persistence context without a problem by adding lt;persistence-context /gt; to the top of the flow and listening with HibernateFlowExecutionListener. However, I can't figure how to configure this for scopes other than flow scope (?)
Any help greatly appreciated
Adam
Adam,
Currently, the other two persistence-context patterns quot;conversationquot; and quot;viewquot; are in the documentation primarily for informational purposes. These two patterns are not yet implemented out-of-the-box by the persistence listeners - we chose to keep them out of scope for 2.0.0 and address them in a future release, with the community's feedback, rather than rush them in. At the same time, we wanted the explanation of the patterns how there for community comment and experimentation. We should add a note about this in the documentation.
Keith |
|