aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/healthmarketscience/jackcess/Database.java6
-rw-r--r--src/java/com/healthmarketscience/jackcess/Table.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Database.java b/src/java/com/healthmarketscience/jackcess/Database.java
index 9ea72bf..d6786ba 100644
--- a/src/java/com/healthmarketscience/jackcess/Database.java
+++ b/src/java/com/healthmarketscience/jackcess/Database.java
@@ -894,8 +894,8 @@ public class Database
String fromName = (String)row.get(REL_COL_FROM_TABLE);
String toName = (String)row.get(REL_COL_TO_TABLE);
- if(fromTable.getName().equals(fromName) &&
- toTable.getName().equals(toName))
+ if(fromTable.getName().equalsIgnoreCase(fromName) &&
+ toTable.getName().equalsIgnoreCase(toName))
{
String relName = (String)row.get(REL_COL_NAME);
@@ -904,7 +904,7 @@ public class Database
// info for this relationship
Relationship rel = null;
for(Relationship tmp : relationships) {
- if(tmp.getName().equals(relName)) {
+ if(tmp.getName().equalsIgnoreCase(relName)) {
rel = tmp;
break;
}
diff --git a/src/java/com/healthmarketscience/jackcess/Table.java b/src/java/com/healthmarketscience/jackcess/Table.java
index ebed2e3..02120c1 100644
--- a/src/java/com/healthmarketscience/jackcess/Table.java
+++ b/src/java/com/healthmarketscience/jackcess/Table.java
@@ -263,7 +263,7 @@ public class Table
*/
public Column getColumn(String name) {
for(Column column : _columns) {
- if(column.getName().equals(name)) {
+ if(column.getName().equalsIgnoreCase(name)) {
return column;
}
}
@@ -306,7 +306,7 @@ public class Table
*/
public Index getIndex(String name) {
for(Index index : _indexes) {
- if(index.getName().equals(name)) {
+ if(index.getName().equalsIgnoreCase(name)) {
return index;
}
}