Consultor Eletrônico



Kbase 37603: Transaction rolls back with WLS-Adapter
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/2/2001
Solution ID: P7603

FACT(s) (Environment):

SonicXQ

SYMPTOM(s):

javax.transaction.xa.XAException

Outer Transaction rolls back with WLS-Adapter

CAUSE:

A nested transaction was throwing an exception

FIX:

Nested transactions are explicitly not supported by the EJB Spec.
See 17.1.2 of EJB Spec 2.0 page 332:

17.1.2 Transaction Model
The Enterprise JavaBeans architecture supports flat transactions. A flat transaction cannot have any child (nested) transactions.
Note: The decision not to support nested transactions allows vendors of existing transaction processing and database management systems to incorporate support for Enterprise Java-Beans...