User: fleury  
  Date: 00/09/27 16:10:52

  Modified:    src/main/org/jboss/ejb/plugins BMPPersistenceManager.java
  Log:
  Remove the lock from this interceptor, the instance is already locked by the 
invokeHome
  
  Revision  Changes    Path
  1.11      +1 -4      jboss/src/main/org/jboss/ejb/plugins/BMPPersistenceManager.java
  
  Index: BMPPersistenceManager.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/BMPPersistenceManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- BMPPersistenceManager.java        2000/09/27 17:06:08     1.10
  +++ BMPPersistenceManager.java        2000/09/27 23:10:52     1.11
  @@ -33,7 +33,7 @@
   *   @see <related>
   *   @author Rickard �berg ([EMAIL PROTECTED])
   *  @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
  -*   @version $Revision: 1.10 $
  +*   @version $Revision: 1.11 $
   */
   public class BMPPersistenceManager
   implements EntityPersistenceManager
  @@ -120,9 +120,6 @@
            
            // Give it to the context
            ctx.setCacheKey(cacheKey);
  -         
  -         // We are going in cache so lock the instance (no need to synch we are 
alone on it)
  -         ctx.lock();
            
            // Insert in cache, it is now safe
            ((EntityInstanceCache) con.getInstanceCache()).insert(ctx);
  
  
  

Reply via email to