On 14 Sep 2011, at 17:01, Mircea Markus wrote:

Is there any reasons why the batch container/interceptor doesn't want to expose the batch induced transaction to the outside world? The only drawback I see with that is  if some other XA resource is used within the batch, it will participate in the dist tx.

Yup, that's the reason.  

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org