db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r504262 - /db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
Date Tue, 06 Feb 2007 19:55:14 GMT
Author: arminw
Date: Tue Feb  6 11:55:13 2007
New Revision: 504262

URL: http://svn.apache.org/viewvc?view=rev&rev=504262
Log:
fix object refresh bug

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java?view=diff&rev=504262&r1=504261&r2=504262
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java (original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java Tue Feb  6
11:55:13 2007
@@ -2047,7 +2047,7 @@
         Object freshInstance = getPlainDBObject(cld, oid);
 
         // update all primitive typed attributes
-        FieldDescriptor[] fields = cld.getFieldDescriptions();
+        FieldDescriptor[] fields = cld.getFieldDescriptor(true);
         FieldDescriptor fmd;
         PersistentField fld;
         for (int i = 0; i < fields.length; i++)



---------------------------------------------------------------------
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