*/
public DBSpatialDataSourceAdapter(String name, String alias,
DBSpatialSource def, SpatialDBDriver driver) {
super(name, alias);
this.geometryFieldName = def.getSpatialField();
mes = new SpatialDBMetadataEditionSupport(this, def.getTableName(), driver);
dbDataSource = new SpatialDBDataSourceSupport(this, def, driver,
geometryFieldName);
pkOrientedEditionSupport = new PKOrientedEditionSupport(this,
def.getTableName(), driver, mes);
spatialDSSupport = new SpatialDataSourceImpl(this, driver);