If i comment the following:
TransactionManager tm = Spring.getBean ( TransactionManager.class ,
"atomikosTransactionManager" );
|
cache.getCache().getConfiguration().getRuntimeConfig().setTransactionManager(transactionManager);
the behaviour is completely different:
-instead of a single transaction spanning all operations between a SET AUTOCOMMIT FALSE
and ROLLBACK, the log file structure is more complicated, including many SET AUTOCOMMIT
FALSE and SET AUTOCOMMIT TRUE. More importantly there is no ROLLBACK at the end.
-consequently the data is really persisted
So, it works with the default, local transaction manager, but not with a JTA TM (Atomikos)
..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263621#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...