[#6141] Add identity column support to XMLGenerator

This commit is contained in:
lukaseder 2017-04-24 14:25:38 +02:00
parent 9ae783e592
commit 41f2b20ec2

View File

@ -120,8 +120,8 @@ public class XMLGenerator extends AbstractGenerator {
column.setCharacterMaximumLength(type.getLength());
column.setColumnDefault(type.getDefaultValue());
column.setDataType(type.getType());
// TODO This is not yet supported
// column.setIdentityGeneration(co.isIdentity());
if (co.isIdentity())
column.setIdentityGeneration("YES");
column.setIsNullable(column.isIsNullable());
column.setNumericPrecision(type.getPrecision());
column.setNumericScale(type.getScale());