Search in sources :

Example 1 with SqlModelReader

use of com.beanexplorer.enterprise.metadata.sql.SqlModelReader in project be5 by DevelopmentOnTheEdge.

the class TestMain method testSqlDatabase.

public static StatContext testSqlDatabase(String name, String connectionURL, FailData failedQueries) throws IOException, ExtendedSqlException, SQLException, ProcessInterruptedException {
    BeSqlExecutor executor = new BeSqlExecutor(connectionURL);
    SqlModelReader reader = new SqlModelReader(executor, SqlModelReader.READ_META);
    Project project = reader.readProject(name);
    return testProject(project, failedQueries);
}
Also used : BeSqlExecutor(com.beanexplorer.enterprise.metadata.sql.BeSqlExecutor) SqlModelReader(com.beanexplorer.enterprise.metadata.sql.SqlModelReader) Project(com.beanexplorer.enterprise.metadata.model.Project)

Aggregations

Project (com.beanexplorer.enterprise.metadata.model.Project)1 BeSqlExecutor (com.beanexplorer.enterprise.metadata.sql.BeSqlExecutor)1 SqlModelReader (com.beanexplorer.enterprise.metadata.sql.SqlModelReader)1