JDBCMetaDataConfiguration configuration = new JDBCMetaDataConfiguration();
OverrideRepository ox = new OverrideRepository();
ox.addSchemaSelection(new SchemaSelection(null, null, "DUMMY.*"));
configuration.setReverseEngineeringStrategy(ox.getReverseEngineeringStrategy(new DefaultReverseEngineeringStrategy()));
configuration.readFromJDBC();
Iterator tableMappings = configuration.getTableMappings();
Table t = (Table) tableMappings.next();
assertEquals(t.getName(), "DUMMY");
assertFalse(tableMappings.hasNext());