From da424e16c05249592ea5ce1f385a9f1cc054b915 Mon Sep 17 00:00:00 2001 From: Jacek Tomasiak Date: Mon, 25 Feb 2019 11:59:29 +0100 Subject: [PATCH] add logging of create item table sql --- .../java/org/openhab/persistence/jdbc/db/JdbcBaseDAO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/persistence/org.openhab.persistence.jdbc/java/org/openhab/persistence/jdbc/db/JdbcBaseDAO.java b/bundles/persistence/org.openhab.persistence.jdbc/java/org/openhab/persistence/jdbc/db/JdbcBaseDAO.java index 219f6b0785f..1be2d191618 100644 --- a/bundles/persistence/org.openhab.persistence.jdbc/java/org/openhab/persistence/jdbc/db/JdbcBaseDAO.java +++ b/bundles/persistence/org.openhab.persistence.jdbc/java/org/openhab/persistence/jdbc/db/JdbcBaseDAO.java @@ -319,6 +319,7 @@ public void doCreateItemTable(ItemVO vo) { String sql = StringUtilsExt.replaceArrayMerge(SQL_CREATE_ITEM_TABLE, new String[] { "#tableName#", "#dbType#", "#tablePrimaryKey#" }, new String[] { vo.getTableName(), vo.getDbType(), sqlTypes.get("tablePrimaryKey") }); + logger.debug("JDBC::doCreateItemTable sql={}", sql); Yank.execute(sql, null); }