Bring things to a state where the basic DB schema gets auto-created if it doesn't...
[cfb.git] / prod / net / jaekl / cfb / db / driver / DbDriver.java
index fa3886248522012a5b8069c9e0c600ab7c36a92f..9de7264d9d2ca30ebec495ca59ca8087d655d009 100644 (file)
@@ -26,6 +26,9 @@ public abstract class DbDriver {
                try (PreparedStatement ps = con.prepareStatement(sql)) {
                        ps.executeUpdate();
                }
+               catch (SQLException exc) {
+                       throw new SQLException("Failed to executeUpdate:  " + sql, exc);
+               }
                
                return true;
        }