jboss-developer/jboss-eap-quickstarts — pull request #829 by gkephorus (2014-01-06 13:59:48+00:00)
Title: add example of TransactionAttributeType.REQUIRES_NEW

An example to show how a method marked with TransactionAttributeType.REQUIRES_NEW does commit a record while the former transaction can still fail.
One can see this by running the application and adding a 'customer' whose name starts with a 'p'. This will result in a LogMessage-record in the database but not a customer-record neither will a JMS-message be delivered.

Signed-off-by: Gerke - Ephorus