7 May 16:26
Access Context from current thread
From: Anthony Schexnaildre <apschexn@...>
Subject: Access Context from current thread
Newsgroups: gmane.comp.java.jpos.devel
Date: 2008-05-07 14:26:19 GMT
Subject: Access Context from current thread
Newsgroups: gmane.comp.java.jpos.devel
Date: 2008-05-07 14:26:19 GMT
Hi all, Is there anyway to access the transaction manager Context from the currently running thread? The reason I am asking is hibernate has a plug-able CurrentSessionContext. If the Context could be plucked from the thread then you could grab a hibernate Session out of the context to enable long running transactions. I can see this being useful in ways other than with just hibernate. -Anthony ------------------------------------
RSS Feed