DatabaseWrapper target = new DatabaseWrapper(props.getProperty("target.schema"));
target.connect(DataSourceUtil.getDataSource("target"), (Dialect) (Class.forName(props
.getProperty("target.dialect")).newInstance()));
Replicator replicator = new DatabaseReplicator(source, target);
Set<String> tables = source.getMetadata().getTables().keySet();
DefaultTableFilter filter = new DefaultTableFilter();
filter.addInclude("EAMS_USST.CJ_T");
replicator.addTables(filter.filter(tables));
// replicator.addTables(tablenames);
replicator.start();
System.out.println("end replicate ..... start sleep");
Thread.sleep(1000 * 30);
}