mirror of https://github.com/apache/openjpa.git
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@880972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cbde4958f3
commit
9a7bab2a6a
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue