geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <>
Subject Re: Does WASCE have a TransactionManager Lookup class ?
Date Thu, 22 Dec 2005 09:16:06 GMT
Hibernate can use the UserTransaction instead of the TransactionManager, 
but you won't be able
to suspend / resume transactions.   If you do not need suspend/resume, 
just set the
autodetectTransactionManager attribute of the JtaTransactionManager to 

In any cases, afaik even if you can grab a reference to the 
you won't be able to suspend a user transaction, as they are unrelated.

I think the way to go would be to grab a reference on the 
and create a a.o.g.GeronimoTransactionManager (you can find this class 
in the project).
This one wraps the geronimo TransactionContextManager in a 
TransactionManager so that you will be able
to suspend / resume  user transactions.

Guillaume Nodet

Aditya Gupta wrote:

> hi,
> i was trying to use transactions in WASCE ,but could not locate a 
> TransactionManager lookup class .How do we specify how Hibernate 
> should obtain a reference to the TransactionManager class ?
> regards
> Aditya Gupta

View raw message