[#6141] Add identity column support to XMLGenerator
This commit is contained in:
parent
9ae783e592
commit
41f2b20ec2
@ -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());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user