[jboss-user] [JBoss Seam] - Re: EntityHome silently discards updates after errors
cja987
do-not-reply at jboss.com
Wed Nov 1 20:55:10 EST 2006
I'm a dunderhead -- not that this is a big surprise to anyone. It had nothing to do with transaction isolation levels, and everything to do with needing to set flushMode=MANUAL when beginning the conversation. Once I did that, everything works as expected, and entities aren't flushed until I actually tell it to.
I kludged a call to Conversation.instance().changeFlushMode(MANUAL) in a @Create method on RuleHome, because it does have to be available to non-faces requests (quite a lot of my app has to be RESTful). I don't know if there's any more elegant way to do it, since my tinkering with pages.xml wasn't too successful.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982513#3982513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982513
More information about the jboss-user
mailing list