Skip to content

Commit

Permalink
auto increment is only needed by MsSQLServer
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jul 18, 2008
1 parent db3d3c6 commit 666d799
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -58,6 +58,7 @@
import org.apache.ddlutils.platform.DatabaseMetaDataWrapper;
import org.apache.ddlutils.platform.MetaDataColumnDescriptor;
import org.jumpmind.symmetric.common.ParameterConstants;
import org.jumpmind.symmetric.db.mssql.MsSqlDbDialect;
import org.jumpmind.symmetric.load.IColumnFilter;
import org.jumpmind.symmetric.model.DataEventType;
import org.jumpmind.symmetric.model.Node;
Expand Down Expand Up @@ -321,7 +322,10 @@ protected Table readTable(DatabaseMetaDataWrapper metaData, Map values) throws S
for (Iterator it = primaryKeys.iterator(); it.hasNext(); table.findColumn((String) it.next(), true)
.setPrimaryKey(true))
;
determineAutoIncrementFromResultSetMetaData(table, table.getColumns());

if (this instanceof MsSqlDbDialect) {
determineAutoIncrementFromResultSetMetaData(table, table.getColumns());
}
}
return table;
}
Expand Down

0 comments on commit 666d799

Please sign in to comment.