code: private void migrate() throws SQLException {
  		QueryVO pk = helper.selectAll("pkList",
  			ObjectBuilder.<String, Object>map().put("tables", tables).get());
  		List<TablePkFkVO> tablePkFkVOs = pk.toBeans(TablePkFkVO.class);
  
  		logger.info("TablePkFkVO size = {}", tablePkFkVOs.size());
  
  		for (TablePkFkVO table : tablePkFkVOs) {
  			QueryVO fk = helper.selectAll("fkList",
  				ObjectBuilder.<String, Object>map().put("table", table.getName()).get());
  			table.setReferencedBy(fk.toBeans(RefConsVO.class));
  		}
  
  		logger.info("TablePkFkVO size = {}", tablePkFkVOs.size());
  
  		for (TablePkFkVO tablePkFkVO : tablePkFkVOs) {
  			migrateTable(tablePkFkVO);
  		}
  	}
docs: ------------------------------