-
Dec 29th, 2010, 11:30 AM
#1
How to maintain persistence-context with subflows
I have a main flow that is annotated with
Code:
<persistence-context/>
From there I call a subflow which may update some objects, then return to the main flow .
At the end of the main flow there is a commit.
Should any subflows also have the <persistence-context/> tag in their flow definitions, or should that only be declared once in the parent flow?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules