openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <>
Subject Re: Is TransactionSynchronizationRegistry used?
Date Wed, 27 Sep 2006 18:16:35 GMT

We don't use TransactionSynchronizationRegistry (not yet, at least).  
Instead, we manually locate the TransactionManager via appserver- 
specific heuristics defined in openjpa-kernel/src/main/java/org/ 

If the Geronimo TransactionManager is accessible from JNDI or some  
method invocation, you can just add it into AutomaticManagedRuntime  
as a default (you can test it out by specifying the  
"openjpa.ManagedRuntime" property to "jndi 

We may add support for integration via  
TransactionSynchronizationRegistry in the future, but the fact that  
it doesn't provide support for accessing the current Transaction  
would mean that we would need to rework some OpenJPA internals.

On Sep 27, 2006, at 10:39 AM, David Jencks wrote:

> I'm trying to get openjpa running in geronimo and wonder how  
> openjpa locates the TransactionSynchronizationRegistry.  Greping  
> for TransactionSynchronizationRegistry I don't see it used anywhere  
> in the code base.  What am I missing?
> thanks
> david jencks

View raw message