Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.05 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package dataAccess.persistence;
  7.  
  8.  
  9. import dataAccess.persistence.oracle.TargetAnalysisController;
  10. import domainGeneric.project.Attribute;
  11. import domainGeneric.project.Table;
  12. import domainGeneric.supported_units.SupportedDatabases;
  13. import java.util.ArrayList;
  14. import java.util.HashMap;
  15.  
  16.  
  17. /**
  18.  *
  19.  * @author Matthias
  20.  */
  21. public class Test {
  22.    
  23.    
  24.     public static void main(String[] args) {
  25.         TargetAnalysisController tac = new TargetAnalysisController("ondora02.hu.nl", "8521", "cursus02.hu.nl", "tosad_2016_2a_team3_target", "tosad_2016_2a_team3_target");
  26.         SupportedDatabases sdbs = new SupportedDatabases(1, "Oracle 12c");
  27.        
  28.         HashMap<Table, ArrayList<Attribute>> a = tac.getTargetDatabaseStructure(sdbs);
  29.        
  30.         for (Table t : a.keySet()) {
  31.             System.out.println(t.getName());
  32.         }
  33.        
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement