[jboss-user] [JBossCache] - Transactions

2007-07-11 Thread aditsu
Let's say I have a machine running a jboss cache (C) and another one running an application (A). A conencts to C through some kind of custom API. How can I make it so that A can call multiple API methods within a single transaction in C? E.g. this could be a scenario: - A starts a transaction -

[jboss-user] [JBossCache] - Transactions in Local mode

2007-03-26 Thread sonicfab
Hi. I'm using TreeCache 1.4.1 with no replication. I understand that each calling thread will start an internal transaction, even if there is no transactional context in the client. - Does that mean that I need to configure a TransactionManager in the cache config file ? - Is there any way of

[jboss-user] [JBossCache] - Transactions problem

2006-11-22 Thread qwier
Hi all, I am trying to figure out how to get transactions work with the cache. Please have a look at the following code snippet: | InitialContext ic = new InitialContext(); | UserTransaction ut = (UserTransaction)ic.lookup("UserTransaction"); | ut.begin(); | Integer x = (Integer)cache.get