diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2015-03-08 19:24:02 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2015-03-08 19:24:02 +0000 |
commit | 957d85b4f12b71a8e86955fa5057afddbe181a1c (patch) | |
tree | 474c3e4480bc9b3eb8b6aef66c128d3eafac2b59 /src/main/java/com/healthmarketscience/jackcess/util | |
parent | babfdb1947d35dc0fa98bd5dc15f2330e956c1f4 (diff) | |
download | jackcess-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.java | 6 |
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(); } |