[seam-commits] Seam SVN: r12156 - branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Mar 10 08:35:31 EST 2010


Author: manaRH
Date: 2010-03-10 08:35:31 -0500 (Wed, 10 Mar 2010)
New Revision: 12156

Modified:
   branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/BidAction.java
Log:
JBSEAM-4563 - removed import and lock

Modified: branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/BidAction.java
===================================================================
--- branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/BidAction.java	2010-03-10 13:16:38 UTC (rev 12155)
+++ branches/community/Seam_2_2/examples/seambay/src/org/jboss/seam/example/seambay/BidAction.java	2010-03-10 13:35:31 UTC (rev 12156)
@@ -6,7 +6,6 @@
 import java.util.List;
 
 import javax.persistence.EntityManager;
-import javax.persistence.LockModeType;
 
 import org.jboss.seam.annotations.Begin;
 import org.jboss.seam.annotations.In;
@@ -87,7 +86,6 @@
          bid.setAuction(entityManager.find(Auction.class, bid.getAuction().getAuctionId()));
       }
       
-      //entityManager.lock(bid.getAuction(), LockModeType.WRITE);
       entityManager.refresh(bid.getAuction());
       
       if (bid.getAuction().getStatus() != Auction.STATUS_LIVE)



More information about the seam-commits mailing list