OPENJPA-1051: Simplify check for uniqueness of column names. Patch contributed by Ravi Palacherla.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@880689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-11-16 09:33:29 +00:00
parent 61f9b32a49
commit a91e85e6db

View File

@ -376,6 +376,13 @@ public class Table
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 class Table
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();
}
}