Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-05-15 06:52:40 +0000
committerEike Stepper2013-05-15 06:52:40 +0000
commita717feda8cf15b25957dd94aa2cc88346e457a90 (patch)
tree795ca4c3fbcb24b8f998171ce4404f8a8d66e2c2 /plugins/org.eclipse.net4j.db.derby
parente969733a0be1251691de0f55ce1e80471e9c8334 (diff)
downloadcdo-a717feda8cf15b25957dd94aa2cc88346e457a90.tar.gz
cdo-a717feda8cf15b25957dd94aa2cc88346e457a90.tar.xz
cdo-a717feda8cf15b25957dd94aa2cc88346e457a90.zip
[405131] [DB] Launching Servers with HSQLDB or Derby back-ends lead to
issue in CDO 4.2 https://bugs.eclipse.org/bugs/show_bug.cgi?id=405131
Diffstat (limited to 'plugins/org.eclipse.net4j.db.derby')
-rw-r--r--plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java b/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
index 3f68f8f76c..3965019299 100644
--- a/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
+++ b/plugins/org.eclipse.net4j.db.derby/src/org/eclipse/net4j/db/derby/DerbyAdapter.java
@@ -107,4 +107,14 @@ public abstract class DerbyAdapter extends DBAdapter
String sqlState = ex.getSQLState();
return "42X05".equals(sqlState);
}
+
+ @Override
+ public boolean isColumnNotFoundException(SQLException ex)
+ {
+ // Column '<columnName>' is either not in any table in the FROM list or appears within a join specification and is
+ // outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If
+ // this is a CREATE or ALTER TABLE statement then '<columnName>' is not a column in the target table.
+ String sqlState = ex.getSQLState();
+ return "42X04".equals(sqlState);
+ }
}

Back to the top