db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattba...@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/broker/singlevm PersistenceBrokerImpl.java
Date Fri, 03 Jan 2003 21:37:25 GMT
mattbaird    2003/01/03 13:37:25

  Modified:    src/java/org/apache/ojb/broker/singlevm
                        PersistenceBrokerImpl.java
  Log:
  since this store method is called from directly above it without getting the real object,
we need to use the proxyhelper.
  
  Revision  Changes    Path
  1.104     +2 -1      jakarta-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- PersistenceBrokerImpl.java	2 Jan 2003 14:57:01 -0000	1.103
  +++ PersistenceBrokerImpl.java	3 Jan 2003 21:37:25 -0000	1.104
  @@ -1857,6 +1857,7 @@
   
       private void store(Object obj, ObjectModification mod, Map markedForStore) throws PersistenceBrokerException
       {
  +		obj = ProxyHelper.getRealObject(obj);
           ClassDescriptor cld = descriptorRepository.getDescriptorFor(obj.getClass());
           // this call ensures that all autoincremented primary key attributes are filled
           Identity oid = new Identity(obj, this, cld);
  
  
  

Mime
View raw message