db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/singlevm PersistenceBrokerImpl.java
Date Wed, 05 Feb 2003 21:26:32 GMT
brj         2003/02/05 13:26:31

  Modified:    src/java/org/apache/ojb/broker/singlevm
                        PersistenceBrokerImpl.java
  Log:
  temporary fix for multiple updates on same object
  
  Revision  Changes    Path
  1.125     +3 -2      db-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- PersistenceBrokerImpl.java	4 Feb 2003 18:26:37 -0000	1.124
  +++ PersistenceBrokerImpl.java	5 Feb 2003 21:26:30 -0000	1.125
  @@ -1692,7 +1692,8 @@
   				if (m_markedForStore.containsKey(obj))
   				{
   					Boolean insertUpdateMarker = (Boolean) m_markedForStore.get(obj);
  -					if (insertUpdateMarker.booleanValue() == insert)
  +                    // BRJ : avoid multiple insert
  +                    if (insert == true && insertUpdateMarker.booleanValue() ==
insert) 
   					{
   						return;
   					}
  
  
  

Mime
View raw message