tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Karsten.O...@t-systems.com>
Subject @ApplicationException(rollback=true) ignored from external API
Date Wed, 25 Jun 2008 16:38:43 GMT

Hi,

I have the following problem:

I run a test which provokes an application exception. The exception is
defined in the same module and annotated with
@ApplicationException(rollback=true). The Exception is rolled back.
Fine.

Another test checks also an exception. The exception is not from an EJB
module, but from an imported API. The exception has the same annotation,
but the transaction is not rolled back. It seams to me that the
annotation in this class is ignored.

WBR,
Karsten

Mime
View raw message