Subject | Turning off auto-commit on xa-transactions in JBOSS |
---|---|
Author | paulbramble |
Post date | 2005-04-05T05:21:24Z |
We're newbies, and trying to use firebird with JBoss. We are using XA-
Transactions, in connection-factories so we can get connection
pooling. I'm using jdbc to access the database, and I need to provide
transaction support. Standard commits and rollbacks don't work, i
keep getting a "No local transaction active: can't commit" exception.
I tried to disable auto-commits, but I am unable to do so, apparently
JBOSS is setting auto-commit on in such a fashion that prevents me
from disabling it later.
Is there a way to disable autocommit in this scenario?
Thanks,
Paul B.
Transactions, in connection-factories so we can get connection
pooling. I'm using jdbc to access the database, and I need to provide
transaction support. Standard commits and rollbacks don't work, i
keep getting a "No local transaction active: can't commit" exception.
I tried to disable auto-commits, but I am unable to do so, apparently
JBOSS is setting auto-commit on in such a fashion that prevents me
from disabling it later.
Is there a way to disable autocommit in this scenario?
Thanks,
Paul B.