empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1051907 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
Date Wed, 22 Dec 2010 14:01:12 GMT
Author: doebele
Date: Wed Dec 22 14:01:12 2010
New Revision: 1051907

URL: http://svn.apache.org/viewvc?rev=1051907&view=rev
Log: (empty)

Modified:
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java?rev=1051907&r1=1051906&r2=1051907&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java (original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/DBRowSet.java Wed
Dec 22 14:01:12 2010
@@ -700,11 +700,11 @@ public abstract class DBRowSet extends D
                     }
                     else if (primaryKey!=null && primaryKey.contains(col))
                     {   // All primary key fields must be supplied
-                        return error(DBErrors.FieldNotNull, col.getTitle());
+                        return error(DBErrors.FieldNotNull, col.getName());
                     }
                     else if (col.isRequired())
                     {   // Error Column is required!
-                        return error(DBErrors.FieldNotNull, col.getTitle());
+                        return error(DBErrors.FieldNotNull, col.getName());
                     }
                 }
                 sql = cmd.getInsert();



Mime
View raw message