Hello guys,
I'm using JBossCache 1.4.1.SP9.
I need to use SERIALIZABLE isolation level in my application.
I did the following test:
1) started one jboss instance and at some point did:
TreeCache cache = cacheManagerImpl.getCache();
cache.put("1", "1", "test");
cache.getTransactionManager().begin();
cache.put("1", "1", "test2");
TreeCache cache = cacheManagerImpl.getCache();
cache.getTransactionManager().begin();
@SuppressWarnings("unchecked")
T returnString = (T) cache.get("1", "1");
cache.getTransactionManager().commit();
return returnString;