Skip to content
Snippets Groups Projects
Commit d7802b0e authored by Jan David Mol's avatar Jan David Mol
Browse files

SW-685: Added port numbers to jOTDBconnection constructor calls to fix compile errors

parent 1b19be09
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class tCampaign
System.out.println ("Starting... ");
// create a jOTDBconnection
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter","coolen","10.87.2.185","11501_coolen");
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter","coolen","10.87.2.185","5432","11501_coolen");
System.out.println ("Trying to connect to the database");
assert conn.connect () : "Connection failed";
......
......@@ -26,7 +26,7 @@ class tConnection
System.out.println("Starting... ");
// create a jOTDBconnection
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter","coolen","10.87.2.185","11501_coolen");
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter","coolen","10.87.2.185","5432","11501_coolen");
System.out.println("Trying to connect to the database");
boolean connect=conn.connect();
......
......@@ -35,7 +35,7 @@ class tConverter
System.out.println("Starting... using Database: "+dbName);
// create a jOTDBconnection
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter",dbName,"10.87.2.185",ext);
jOTDBconnection conn = new jOTDBconnection("paulus","boskabouter",dbName,"10.87.2.185","5432",ext);
System.out.println("Trying to connect to the database");
assert conn.connect() : "Connection failed";
......
......@@ -93,7 +93,7 @@ class tTreeMaintenance
System.out.println ("Starting... ");
// create a jOTDBconnection
jOTDBconnection conn = new jOTDBconnection ("paulus","boskabouter","otdbtest","dop50.astron.nl",ext);
jOTDBconnection conn = new jOTDBconnection ("paulus","boskabouter","otdbtest","dop50.astron.nl","5432",ext);
System.out.println ("Trying to connect to the database");
assert conn.connect () : "Connection failed";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment