From: Dmitri C. <di...@bi...> - 2002-11-29 22:49:48
|
From: "David Jencks" <dav...@di...> > Autocommit on is required by the jca spec, and should have been the case > for 3.0 versions as well. You should endevour to make the transactions be > controlled by the jboss tm/jta/cmt etc. For a somwhat similar example of > how this can be accomplished look at tjdo with the jca support patch I > submitted. (this may be difficult to apply since I haven't updated the > patch to remove the parts covered by a previous patch which has mostly been > applied) Have I misinterpreted this? I assume that if the tx is controlled by jboss (ie, I'm inside a SLSB with appropriate configuration) that autocommit will be _off_ yes? I've always run under the assumption that autocommit is off and all I need to do is call setRollbackOnly as required. Could you clarify under what circumstances the JCA spec requiring autocommit to be on will change this behaviour? thanks dim |