diff --git a/framework/src/main/groovy/org/moqui/impl/entity/EntityDbMeta.groovy b/framework/src/main/groovy/org/moqui/impl/entity/EntityDbMeta.groovy index d487e7de6..4a4158ab6 100644 --- a/framework/src/main/groovy/org/moqui/impl/entity/EntityDbMeta.groovy +++ b/framework/src/main/groovy/org/moqui/impl/entity/EntityDbMeta.groovy @@ -455,7 +455,12 @@ class EntityDbMeta { ResultSet tableSet2 = null boolean beganTx = useTxForMetaData ? efi.ecfi.transactionFacade.begin(5) : false try { - con = efi.getConnection(groupName) + try { + con = efi.getConnection(groupName) + } catch (EntityException ee) { + logger.warn("Could not get connection so treating entity ${ed.fullEntityName} in group ${groupName} as table does not exist: ${ee.toString()}") + return false + } DatabaseMetaData dbData = con.getMetaData() String[] types = ["TABLE", "VIEW", "ALIAS", "SYNONYM", "PARTITIONED TABLE"]