"gavin.king(a)jboss.com" wrote : This is NOT the right way to implement atomic
conversations! You are supposed to either do your work outside a transaction, or use
@Begin(flushMode=FlushMode.MANUAL).
|
Wow I got an exclamation mark! AND capitals! We have been using Seam for a year now and
have good chunk of code in production etc. So when Seam 1.0.1GA came out we decided to
only upgrade when stable releases come out. Becaue of this it doesn't look like we can
use the flushmode (although it is perfect for this) at the time I searched the doco and
javadoc and couldn't come up with anything. So I tried using
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED), which didn't change a
thing, the lists were still getting persisted. At that point I had too much other work to
do so I used the above Hack (and hack it certainly is).
So this leads me to asking if I can get an example of how to implement the "atomic
conversation" pattern with Seam 1.0.1GA. If it is indeed to use TransactionAttribute
then obviously I missed something and need to revisit my code.
Bit of a thread hijack I know, but no-one seems to be posting here.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983361#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...