summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbolbic <bolbic@13f79535-47bb-0310-9956-ffa450edef68>2011-03-29 18:08:03 +0000
committerbolbic <bolbic@13f79535-47bb-0310-9956-ffa450edef68>2011-03-29 18:08:03 +0000
commit56b8d0862d1eb3b241bda34c6969ecb2f80426eb (patch)
tree9bb3b9d759753ebec23cab04fd7aac4e71b9b32d
parentb2f366efca55d05797bb807bc6b67895ed1e1a4d (diff)
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
-rw-r--r--das-java/trunk/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/das-java/trunk/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java b/das-java/trunk/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java
index 1e04f111bc..842e7b8705 100644
--- a/das-java/trunk/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java
+++ b/das-java/trunk/rdb/src/main/java/org/apache/tuscany/das/rdb/config/wrapper/MappingWrapper.java
@@ -399,7 +399,7 @@ public class MappingWrapper {
Iterator i = t.getColumn().iterator();
while (i.hasNext()) {
Column c = (Column) i.next();
- if (c.getColumnName().equals(columnName)) {
+ if (c.getColumnName().equalsIgnoreCase(columnName)) {
return c;
}
}
@@ -420,7 +420,7 @@ public class MappingWrapper {
while (i.hasNext()) {
Column c = (Column) i.next();
- if (c.getColumnName().equals(propertyName)) {
+ if (c.getColumnName().equalsIgnoreCase(propertyName)) {
return c;
}