Subject Re: XADataSource implementation
Author rrokytskyy
> The better way to do this is to register a synchronization object
> with the tx manager for the work in cache in a transaction and in
> the beforeCompletion call do all the db work.

where do I get the transaction instance? is there any way to get it
from jndi having only xid? synchronization would be the best.

Thanks!
Roman

P.S. let's close this discussion here, it goes off-topic. I will try
to find out this issue and will ask next questions in jboss forum.