Skip to content

Commit

Permalink
ignore system tables on mssqlddlreader (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
woehrl01 authored and erilong committed Jan 15, 2019
1 parent ac2ac20 commit 7a23093
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -35,6 +35,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.apache.commons.lang.StringUtils;
import org.jumpmind.db.model.Column;
import org.jumpmind.db.model.IIndex;
import org.jumpmind.db.model.PlatformColumn;
Expand Down Expand Up @@ -94,6 +95,10 @@ protected Table readTable(Connection connection, DatabaseMetaDataWrapper metaDat
}

Table table = super.readTable(connection, metaData, values);

if(StringUtils.equalsIgnoreCase(table.getSchema(),"sys")){
return null;
}

if (table != null) {
// Sql Server does not return the auto-increment status via the
Expand Down

0 comments on commit 7a23093

Please sign in to comment.