assertTrue(f.delete());
}
DefaultDriverMetadata ddm = new DefaultDriverMetadata();
ddm.addField("id", "STRING");
ddm.addField("name", "STRING");
DataSourceCreation dsc = new FileSourceCreation(new File("src/test/resources/nuevo.csv"), ddm);
ds.createDataSource(dsc);
DataSourceDefinition dsd = new FileSourceDefinition("src/test/resources/nuevo.csv");
ds.registerDataSource("nuevo", dsd);
DataSource nuevo = ds.getDataSource("nuevo");
nuevo.beginTrans();
nuevo.insertFilledRow(new Value[] {ValueFactory.createValue("0"), ValueFactory.createValue("fernan")});
nuevo.insertFilledRow(new Value[] {ValueFactory.createValue("1"), ValueFactory.createValue("paco")});
nuevo.commitTrans();
DataSourceCreation dsc2 = new FileSourceCreation(new File("src/test/resources/nuevo2.csv"), ddm);
ds.createDataSource(dsc2);
DataSourceDefinition dsd2 = new FileSourceDefinition("src/test/resources/nuevo2.csv");
ds.registerDataSource("nuevo2", dsd2);
DataSource nuevo2 = ds.getDataSource("nuevo2");