mirror of
https://github.com/apache/openjpa.git
synced 2025-02-23 19:05:00 +00:00
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:
parent
61f9b32a49
commit
a91e85e6db
@ -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…
x
Reference in New Issue
Block a user