Atomikos Forum

Incorrect DB2 XAResource being chosen

I require use of DB2XAResource, as it is the only class in which has a flag for changing the coupling (tight/loose).

Atomikos seems to create an different resource object,  com.ibm.db2.jcc.t4.bc (I guess the t4 is Type 4); This does not implement DB2XAResource and doesnt have the flag. 

How can I make Atomikos use the DB2XAResource class?  I am not afraid to get into the guts.
Theowne1 Send private email
Wednesday, September 07, 2011
 
 
Not sure, but might an AOP approach around the IBM XADataSource be an option? Just an idea, but if you can intercept calls to getXAResource() then you could try to do that kind of thing...
Guy Pardon Send private email
Wednesday, September 21, 2011
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics