Hello Paul

Le 30/11/2016 à 07:42, paulfoxwor...@apache.org a écrit :
@@ -1014,7 +1014,8 @@ public class DatabaseUtil {
                      // NOTE: this may need a toUpperCase in some cases, keep 
an eye on it, okay for now just do a compare with equalsIgnoreCase
                      String tableType = tableSet.getString("TABLE_TYPE");
                      // only allow certain table types
-                    if (tableType != null && !"TABLE".equalsIgnoreCase(tableType) && 
!"VIEW".equalsIgnoreCase(tableType) && !"ALIAS".equalsIgnoreCase(tableType) && 
!"SYNONYM".equalsIgnoreCase(tableType)) {
+                    if (tableType != null && !"TABLE".equalsIgnoreCase(tableType) && 
!"VIEW".equalsIgnoreCase(tableType)
+                            && !"ALIAS".equalsIgnoreCase(tableType) && 
!"SYNONYM".equalsIgnoreCase(tableType) && !"BASE TABLE".equalsIgnoreCase(tableType)) {
                          continue;
                      }
Maybe we can change the if condition by something like that :

if (tableType != null && Arrays.asList(types).contains(tableType.toUpperCase()))

Nicolas

Reply via email to