protected void writeColumn(Table table,Column column,StringBuilder ddl){
  writeColumnTypeDefaultRequired(table,column,ddl);
  if (column.isPrimaryKey() && databaseInfo.isPrimaryKeyEmbedded()) {
    writeColumnEmbeddedPrimaryKey(table,column,ddl);
  }
  if (column.isAutoIncrement() && !databaseInfo.isDefaultValueUsedForIdentitySpec()) {
    if (!databaseInfo.isNonPKIdentityColumnsSupported() && !column.isPrimaryKey()) {
      throw new ModelException("Column " + column.getName() + " in table "+ table.getName()+ " is auto-incrementing but not a primary key column, which is not supported by the platform");
    }
    ddl.append(" ");
    writeColumnAutoIncrementStmt(table,column,ddl);
  }
}

protected void writeColumn ( Table table , Column column , StringBuilder ddl ) { writeColumnTypeDefaultRequired ( table , column , ddl ) ; if ( column . isPrimaryKey ( ) && databaseInfo . isPrimaryKeyEmbedded ( ) ) { writeColumnEmbeddedPrimaryKey ( table , column , ddl ) ; } if ( column . isAutoIncrement ( ) && ! databaseInfo . isDefaultValueUsedForIdentitySpec ( ) ) { if ( ! databaseInfo . isNonPKIdentityColumnsSupported ( ) && ! column . isPrimaryKey ( ) ) { throw new ModelException ( "Column " + column . getName ( ) + " in table " + table . getName ( ) + " is auto-incrementing but not a primary key column, which is not supported by the platform" ) ; } ddl . append ( " " ) ; writeColumnAutoIncrementStmt ( table , column , ddl ) ; } }
outputs the ddl for the specified column .
