openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r880689 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java
Date Mon, 16 Nov 2009 09:33:34 GMT
Author: ppoddar
Date: Mon Nov 16 09:33:29 2009
New Revision: 880689

URL: http://svn.apache.org/viewvc?rev=880689&view=rev
Log:
OPENJPA-1051: Simplify check for uniqueness of column names. Patch contributed by Ravi Palacherla.

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java?rev=880689&r1=880688&r2=880689&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java Mon
Nov 16 09:33:29 2009
@@ -376,6 +376,13 @@
         return col;
     }
 
+    /**
+     * Add a name to this NameSet
+     */
+    public void addCorrectedColumnName(String name, boolean validate) {
+        addName(name, validate);
+    }
+
 
     /**
      * Remove the given column from the table.
@@ -816,15 +823,4 @@
     public void setColNumber(int colNum) {
         _colNum = colNum;
     }
-
-    /**
-    * Add a column to the subNames set to avoid naming conflict.
-    */
-    public void addSubColumn(String name) {
-        addSubName(name);
-    }
-
-    public void resetSubColumns() {
-        resetSubNames();
-    }
 }



Mime
View raw message