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


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to