[jboss-user] [JCA/JBoss] - Re: Not getting XADataSource

weston.price@jboss.com do-not-reply at jboss.com
Fri Dec 1 14:49:31 EST 2006


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.looking("java:/BasicService01DS");
  | Connection conn = ds.getConnection()
  | 
  | 

JCA handles transaction enlistment for you so there is no need for a special wrapper in this case. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990546#3990546

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990546



More information about the jboss-user mailing list