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

SW-685: Fix port parameter type of initOTDBconnection

parent c2d4786b
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ public class jOTDBconnection implements jOTDBinterface ...@@ -52,7 +52,7 @@ public class jOTDBconnection implements jOTDBinterface
{ {
try { try {
itsName="_test_1"; itsName="_test_1";
initOTDBconnection("paulus", "boskabouter", "otdbtest" , "dop50.astron.nl", 5432); initOTDBconnection("paulus", "boskabouter", "otdbtest" , "dop50.astron.nl", "5432");
} catch (Exception ex) { } catch (Exception ex) {
System.out.println("Error during connection init :" + ex); System.out.println("Error during connection init :" + ex);
} }
...@@ -61,7 +61,7 @@ public class jOTDBconnection implements jOTDBinterface ...@@ -61,7 +61,7 @@ public class jOTDBconnection implements jOTDBinterface
// Create a OTDBconnection instance // Create a OTDBconnection instance
private native void initOTDBconnection (String username, String passwd, String database, String hostname, int port) throws Exception; private native void initOTDBconnection (String username, String passwd, String database, String hostname, String port) throws Exception;
// To test if we are (still) connected. // To test if we are (still) connected.
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment