pkColumn.setRelation(table);
table.getColumns().add(pkColumn);
PrimaryKey primaryKey = new PrimaryKey();
primaryKey.setName(tableGenerator.getTableName() + "PK");
primaryKey.addColumn(0, new Column(pkColumn.getName()).setRelation(table));
primaryKey.setTable(table);
table.setPrimaryKey(primaryKey);
Column valueColumn = new Column();
valueColumn.setName(tableGenerator.getValueColumnName());