aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/util
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2015-03-08 19:24:02 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2015-03-08 19:24:02 +0000
commit957d85b4f12b71a8e86955fa5057afddbe181a1c (patch)
tree474c3e4480bc9b3eb8b6aef66c128d3eafac2b59 /src/main/java/com/healthmarketscience/jackcess/util
parentbabfdb1947d35dc0fa98bd5dc15f2330e956c1f4 (diff)
downloadjackcess-957d85b4f12b71a8e86955fa5057afddbe181a1c.tar.gz
jackcess-957d85b4f12b71a8e86955fa5057afddbe181a1c.zip
lower log level for certain system table warnings; add contextual info to many errors/warnings: feature #29
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@919 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/util')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/util/Joiner.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/util/Joiner.java b/src/main/java/com/healthmarketscience/jackcess/util/Joiner.java
index 65f6441..dfd0ef4 100644
--- a/src/main/java/com/healthmarketscience/jackcess/util/Joiner.java
+++ b/src/main/java/com/healthmarketscience/jackcess/util/Joiner.java
@@ -31,6 +31,7 @@ import com.healthmarketscience.jackcess.Index;
import com.healthmarketscience.jackcess.IndexCursor;
import com.healthmarketscience.jackcess.Row;
import com.healthmarketscience.jackcess.Table;
+import com.healthmarketscience.jackcess.impl.DatabaseImpl;
import com.healthmarketscience.jackcess.impl.IndexImpl;
/**
@@ -291,7 +292,10 @@ public class Joiner
for(int i = 1; i < toCols.size(); ++i) {
sb.append(",").append(toCols.get(i).getName());
}
- sb.append(toType);
+ sb.append(toType)
+ .append(" (Db=")
+ .append(((DatabaseImpl)getFromTable().getDatabase()).getName())
+ .append(")");
return sb.toString();
}