Package org.gdbms.engine.data.db

Examples of org.gdbms.engine.data.db.DBQuerySourceDefinition


    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")));
View Full Code Here


        new DBSource("www.freesql.org", 3306, "fergonco", "fergonco",
            "fergonco", "person", "mysql")));
    ds
        .registerDataSource(
            "ages",
            new DBQuerySourceDefinition(
                new DBSource("www.freesql.org", 3306,
                    "elfernan", "elfernan", "elfernan",
                    null, "jdbc:mysql"),
                "select 3*p1.age as tripleage from person p1, person p2, person p3, person p4, person p5"));

View Full Code Here

TOP

Related Classes of org.gdbms.engine.data.db.DBQuerySourceDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.