10071008100910101011101210131014101510161017
table.addColumn(newCol); } } LOGGER.fine("deleting the 'workaround' column..."); table.dropColumn(HACK_COL_NAME); LOGGER.fine("setting up table registration with ArcSDE..."); SeRegistration reg = new SeRegistration(connection, table.getName()); if (rowIdColumn != null) { LOGGER.fine("setting rowIdColumnName to " + rowIdColumn + " in table "
934935936937938939940941942943944
table.addColumn(colDefs[0]); table.addColumn(colDefs[1]); table.addColumn(colDefs[2]); table.addColumn(colDefs[3]); table.dropColumn(tmpCols[0].getName()); /* * Define the attributes of the spatial column */ layer.setSpatialColumnName("SHAPE");