[seam-commits] Seam SVN: r9813 - trunk/src/main/org/jboss/seam/transaction.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Dec 22 11:12:28 EST 2008


Author: cpopetz
Date: 2008-12-22 11:12:27 -0500 (Mon, 22 Dec 2008)
New Revision: 9813

Modified:
   trunk/src/main/org/jboss/seam/transaction/TransactionInterceptor.java
Log:
JBSEAM-3807: Transactional Attribute doesn't allow override at method level


Modified: trunk/src/main/org/jboss/seam/transaction/TransactionInterceptor.java
===================================================================
--- trunk/src/main/org/jboss/seam/transaction/TransactionInterceptor.java	2008-12-22 16:07:32 UTC (rev 9812)
+++ trunk/src/main/org/jboss/seam/transaction/TransactionInterceptor.java	2008-12-22 16:12:27 UTC (rev 9813)
@@ -104,9 +104,9 @@
          private boolean isNewTransactionRequired(Method method, Class beanClass, boolean transactionActive)
          {
             TransactionMetadata metadata = lookupTransactionMetadata(method);
-            if (metadata.isNewTransactionRequired(transactionActive))
+            if (metadata.isAnnotationPresent())
             {
-               return true;
+               return metadata.isNewTransactionRequired(transactionActive);
             }
             else
             {




More information about the seam-commits mailing list