This content has been marked as final.
Show 2 replies
-
1. Re: Not getting XADataSource
weston.price Dec 1, 2006 2:49 PM (in response to pkdj)You don't need to use the Arjuna Transactional Driver. This is the point of JCA, we do this for you.
Your lookup would be:InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:/BasicService01DS"); Connection conn = ds.getConnection()
JCA handles transaction enlistment for you so there is no need for a special wrapper in this case. -
2. Re: Not getting XADataSource
pkdj Dec 4, 2006 9:27 AM (in response to pkdj)Thanks. I'm not as knowledgeable on JCA as I should, I guess. A quick follow up on scope. Over what boundaries will JCA's transaction enlistment traverse? Will it enlist any XA data source used in the same thread? Across contexts? Across JVMs?
Thanks,
Paul