empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1301443 - in /empire-db/trunk/empire-db/src/main/java/org/apache/empire: data/bean/BeanRecordProxy.java db/DBRecord.java
Date Fri, 16 Mar 2012 11:39:45 GMT
Author: doebele
Date: Fri Mar 16 11:39:45 2012
New Revision: 1301443

URL: http://svn.apache.org/viewvc?rev=1301443&view=rev
Log:
EMPIREDB-137
reverted previous change (was not necessary)

Modified:
    empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanRecordProxy.java
    empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java

Modified: empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanRecordProxy.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanRecordProxy.java?rev=1301443&r1=1301442&r2=1301443&view=diff
==============================================================================
--- empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanRecordProxy.java
(original)
+++ empire-db/trunk/empire-db/src/main/java/org/apache/empire/data/bean/BeanRecordProxy.java
Fri Mar 16 11:39:45 2012
@@ -30,7 +30,6 @@ import org.apache.empire.commons.Options
 import org.apache.empire.data.Column;
 import org.apache.empire.data.ColumnExpr;
 import org.apache.empire.data.Record;
-import org.apache.empire.db.DBRowSet;
 import org.apache.empire.exceptions.BeanPropertyGetException;
 import org.apache.empire.exceptions.BeanPropertySetException;
 import org.apache.empire.exceptions.InvalidArgumentException;
@@ -157,8 +156,6 @@ public class BeanRecordProxy<T> implemen
 
     public boolean isFieldReadOnly(Column column)
     {
-        if (isReadOnly())
-            return true;
     	if (isNew()==false && ObjectUtils.contains(keyColumns, column))
     		return true;
     	if (column.isAutoGenerated())

Modified: empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java?rev=1301443&r1=1301442&r2=1301443&view=diff
==============================================================================
--- empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java (original)
+++ empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRecord.java Fri Mar 16
11:39:45 2012
@@ -561,8 +561,6 @@ public class DBRecord extends DBRecordDa
     {
         if (rowset==null)
             throw new ObjectNotValidException(this);
-        if (isReadOnly())
-            return true;
         // Ask RowSet
         return (rowset.isColumnReadOnly(column));
     }



Mime
View raw message