Package de.fuberlin.wiwiss.d2rq.dbschema

Examples of de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector$ForeignKey


  public void tearDown() {
    db.close(true);
  }
 
  public void testFindTableWithSchemaInspector() {
    DatabaseSchemaInspector schema =
      new DatabaseSchemaInspector(
          new ConnectedDB(
              db.getJdbcURL(), db.getUser(), db.getPassword()));
    assertEquals(new ArrayList<RelationName>() {{
          add(new RelationName(null, "TEST"));
        }}, schema.listTableNames(null));
  }
View Full Code Here


    return result;
  }

  public DatabaseSchemaInspector schemaInspector() {
    if (schemaInspector == null && jdbcURL != null) {
      schemaInspector = new DatabaseSchemaInspector(this);
    }
    return this.schemaInspector;
  }
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.dbschema.DatabaseSchemaInspector$ForeignKey

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.