Hmm so your setup sounds right

the transaction manager used is a GeronimoTransactionManager, you can check
this class maybe.

The point is to know is spring doesn't use its own handling of
transactions, maybe try to reproduce in a smaller sample to be sure that's
a config error (openejb + spring in an embedded test would reproduce it)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/25 Chris Owens <[email protected]>

> Romain, thank you for your quick response!
>
> I used comp/env/comp/TransationManager based on your advice here:
> https://issues.apache.org/jira/browse/TOMEE-38.  I know I am getting /a/
> transaction manager; how do I know if I am getting the one I want?
>
> For the EMF, I have this in my web.xml.  Is this enough to get hold of the
> EMF and bind to it?  I'm using this info:
> http://tomee.apache.org/persistence-unit-ref.html.
>
>
>
> Can you help me find my way with the CDI/DeltaSpike approach?
> In particular,  I don't know how to find the EMF that TomEE automatically
> creates and then expose it.  I'm thinking I want something like
>
>
> And, umm... forgive my complete ignorance, but could you help me with the
> "easily doable in XML" part?  How do I get at the value returned by the
> static method within my xml file without creating another bean, etc. etc.
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Shared-Persistence-Context-between-Spring-Beans-and-EJBs-tp4664343p4664348.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to