// Test to query the film table (caused troubles in DataCleaner)
public void testFilmQuery() throws Exception {
DataContext dc = new JdbcDataContext(_connection);
Table table = dc.getDefaultSchema().getTableByName("film");
Query q = new Query().select(table.getColumns()).from(table).setMaxRows(400);
dc.executeQuery(q);
}
public void testGetSchema() throws Exception {
DataContext dc = new JdbcDataContext(_connection);
Schema[] schemas = dc.getSchemas();