in MappingWrapper.java, making column search case-insensitive (like table search)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1086658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b2f366efca
commit
56b8d0862d
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ public class MappingWrapper {
|
||||||
Iterator i = t.getColumn().iterator();
|
Iterator i = t.getColumn().iterator();
|
||||||
while (i.hasNext()) {
|
while (i.hasNext()) {
|
||||||
Column c = (Column) i.next();
|
Column c = (Column) i.next();
|
||||||
if (c.getColumnName().equals(columnName)) {
|
if (c.getColumnName().equalsIgnoreCase(columnName)) {
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -420,7 +420,7 @@ public class MappingWrapper {
|
||||||
while (i.hasNext()) {
|
while (i.hasNext()) {
|
||||||
Column c = (Column) i.next();
|
Column c = (Column) i.next();
|
||||||
|
|
||||||
if (c.getColumnName().equals(propertyName)) {
|
if (c.getColumnName().equalsIgnoreCase(propertyName)) {
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue