@Override
public DataSource createDataSource(String tableName, String tableAlias, String driverName) throws DataSourceCreationException {
((GDBMSDriver)driver).setDataSourceFactory(getDataSourceFactory());
SpatialFileDataSourceAdapter ds = new SpatialFileDataSourceAdapter(tableName, tableAlias,
file, (SpatialFileDriver) driver);
return ds;
}