From: Gavin_King/Cirrus%<CI...@ci...> - 2002-06-14 11:08:14
|
Does anyone know a reasonably portable way to get hold of a javax.transaction.Transaction or javax.transaction.TransactionManager from an application server JNDI server? If I knew how to do this, I could get the caching stuff working properly for situations where the JTA transaction is incomplete when we call Session.close(). We would need to register an instance of javax.transaction.Synchronization with the javax.transaction.Transaction instance. (At present, for the cache to work correctly, the transaction must be either fully committed or rolled back when you close the Session.) Gavin |