createDataBase(basedir);
createFiles(basedir);
//Setup de las tablas
dsf.registerDataSource("persona", new FileSourceDefinition(new File(basedir + "/src/test/resources/persona.csvf")));
dsf.registerDataSource("sort", new FileSourceDefinition(basedir + "/src/test/resources/sort.csv"));
dsf.registerDataSource("hsqldbpersona", new DBTableSourceDefinition(new DBSource(null, 0, basedir + "/src/test/resources/testdb", "sa", "",
"persona", "jdbc:hsqldb:file")));
dsf.registerDataSource("hsqldbpersonatransactional", new DBTableSourceDefinition(new DBSource(null, 0, basedir + "/src/test/resources/testdb", "sa", "",
"persona", "jdbc:hsqldb:file")));
dsf.registerDataSource("hsqldbapellido", new DBQuerySourceDefinition(new DBSource(null, 0,
basedir + "/src/test/resources/testdb", "sa", "", null, "jdbc:hsqldb:file"), "select apellido from persona"));
dsf.registerDataSource("nulos", new FileSourceDefinition(basedir + "/src/test/resources/nulos.csv"));
dsf.registerDataSource("points0", new SpatialDBTableSourceDefinition(new DBSpatialSource("127.0.0.1", 5432,
"orbiscad", "postgres", "", "points0", "the_geom", "jdbc:postgresql")));
dsf.registerDataSource("pgWithGDBMS", new SpatialDBTableSourceDefinition(new DBSpatialSource("127.0.0.1", 5432,
"orbiscad", "postgres", "", "polygon0", "the_geom", "jdbc:postgresql")));