I use the <persistence-context> element in a flow definition which calls a subflow. The subflow does either change or create an object. After the subflow is ended and the control is again in the flow definition with <persistence-context> I get
while continuing on the flow.Code:org.hibernate.LazyInitializationException - could not initialize proxy - no Session
The session should not be closed due to calling a subflow after returning?
In case the session should still be active what can cause the termination?
Thanks for any suggestions.