Subject | RE: [Firebird-Java] javax.transaction.xa.XAException errors |
---|---|
Author | Hugh J Borst |
Post date | 2003-07-28T21:43:23Z |
David;
Thank you very much for your reply.
Yes, we are using CMP and letting the container manage transaction
control. The operation in question is the result of a finder method
(findAll, actually) on an Entity Bean for which the transaction-type is
set to Container and the trans-attribute is set to Required. This bean
is called by a Session Bean whose transaction type is also set to
Container and for which we have tried trans-attribute values of Required
and RequiresNew, neither of which result in any difference in behavior.
We have run this same code against both InterBase (v. 6.0.1.0) and
FireBird (1.0.3), both using JayBird 1.0 and get the same exception,
although FireBird also occasionally throws the exception while in a
FindByXxx() method. The pre-release JayBird version 1.0.1 was also
tested and resulted in the same condition.
Thanks again for your assistance!
Regards,
Hugh Borst
The Higher Gear Group, Inc.
hborst@...
-----Original Message-----
From: David Jencks [mailto:david-jencks@...]
Sent: Saturday, July 26, 2003 2:08 PM
To: Firebird-Java@yahoogroups.com
Subject: RE: [Firebird-Java] javax.transaction.xa.XAException errors
This would be a jboss rather than a firebird setting.
Can you determine if the jdbc call that fails is within a container
managed
transaction?
thanks
david jencks
Thank you very much for your reply.
Yes, we are using CMP and letting the container manage transaction
control. The operation in question is the result of a finder method
(findAll, actually) on an Entity Bean for which the transaction-type is
set to Container and the trans-attribute is set to Required. This bean
is called by a Session Bean whose transaction type is also set to
Container and for which we have tried trans-attribute values of Required
and RequiresNew, neither of which result in any difference in behavior.
We have run this same code against both InterBase (v. 6.0.1.0) and
FireBird (1.0.3), both using JayBird 1.0 and get the same exception,
although FireBird also occasionally throws the exception while in a
FindByXxx() method. The pre-release JayBird version 1.0.1 was also
tested and resulted in the same condition.
Thanks again for your assistance!
Regards,
Hugh Borst
The Higher Gear Group, Inc.
hborst@...
-----Original Message-----
From: David Jencks [mailto:david-jencks@...]
Sent: Saturday, July 26, 2003 2:08 PM
To: Firebird-Java@yahoogroups.com
Subject: RE: [Firebird-Java] javax.transaction.xa.XAException errors
This would be a jboss rather than a firebird setting.
Can you determine if the jdbc call that fails is within a container
managed
transaction?
thanks
david jencks