[jboss-cvs] jboss-seam/src/main/org/jboss/seam/contexts ...

Gavin King gavin.king at jboss.com
Wed May 30 14:53:46 EDT 2007


  User: gavin   
  Date: 07/05/30 14:53:46

  Modified:    src/main/org/jboss/seam/contexts  PassivatedEntity.java
  Log:
  apply JBSEAM-1144
  make Transaction management be a component that implements UserTransaction
  no longer need to roll back txns at end of request, due to JBAS-3242 being fixed
  
  Revision  Changes    Path
  1.6       +2 -2      jboss-seam/src/main/org/jboss/seam/contexts/PassivatedEntity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PassivatedEntity.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/contexts/PassivatedEntity.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- PassivatedEntity.java	27 Feb 2007 15:03:07 -0000	1.5
  +++ PassivatedEntity.java	30 May 2007 18:53:46 -0000	1.6
  @@ -11,8 +11,8 @@
   import org.jboss.seam.Component;
   import org.jboss.seam.Seam;
   import org.jboss.seam.core.PersistenceContexts;
  +import org.jboss.seam.core.Transaction;
   import org.jboss.seam.persistence.PersistenceProvider;
  -import org.jboss.seam.util.Transactions;
   
   public class PassivatedEntity implements Serializable
   {
  @@ -133,7 +133,7 @@
      {
         try
         {
  -         return Transactions.isTransactionMarkedRollback();
  +         return Transaction.instance().isMarkedRollback();
         }
         catch (Exception e)
         {
  
  
  



More information about the jboss-cvs-commits mailing list