jboss-developer/jboss-eap-quickstarts — pull request #831 by gkephorus (2014-01-07 21:55:15+00:00)
Title: add example of TransactionAttributeType.REQUIRES_NEW (attempt 2)

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 contains non letters (e.g. John1). 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 gerke.ephorus@gmail.com