db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core PersistenceBrokerImpl.java
Date Mon, 26 Sep 2005 16:33:56 GMT
arminw      2005/09/26 09:33:56

  Modified:    src/java/org/apache/ojb/broker/core Tag: OJB_1_0_RELEASE
                        PersistenceBrokerImpl.java
  Log:
  add comment
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.83.2.28 +5 -2      db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java,v
  retrieving revision 1.83.2.27
  retrieving revision 1.83.2.28
  diff -u -r1.83.2.27 -r1.83.2.28
  --- PersistenceBrokerImpl.java	9 Aug 2005 20:03:20 -0000	1.83.2.27
  +++ PersistenceBrokerImpl.java	26 Sep 2005 16:33:50 -0000	1.83.2.28
  @@ -268,7 +268,10 @@
   
       public void setClosed(boolean closed)
       {
  -        if(closed == false)
  +        // When lookup the PB instance from pool method setClosed(false)
  +        // was called before returning instance from pool, in this case
  +        // OJB have to refresh the instance.
  +        if(!closed)
           {
               refresh();
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message