}
public static void main(String args[]) throws Exception{
DefinitionSynchronizer ds = new DefinitionSynchronizer();
JDBCConnectionFactory srcConnFactory = new JDBCConnectionFactory();{
srcConnFactory.setConnectionString ("jdbc:oracle:thin:@10.10.8.6:1521:orcl");
srcConnFactory.setDriverClass ("oracle.jdbc.OracleDriver");
srcConnFactory.setUserId ("eagles_ep");
srcConnFactory.setPassword ("eagles_ep_dba");
}
JDBCConnectionFactory targetConnFactory = new JDBCConnectionFactory();{
targetConnFactory.setConnectionString ("jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.9.219)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.9.220)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=epdb)))");
targetConnFactory.setDriverClass ("oracle.jdbc.OracleDriver");
targetConnFactory.setUserId ("eagles_ep");
targetConnFactory.setPassword ("eagles_ep_dba");
}
System.out.println("uEngine Process Definition Synchronizer\n");
System.out.println(". SOURCE database server info: \n" + srcConnFactory);
System.out.println(". TARGET database server info: \n" + targetConnFactory);