Skip to content
Snippets Groups Projects
Commit a938dfa3 authored by Tahir, Ali (UG - Comp Sci & Elec Eng)'s avatar Tahir, Ali (UG - Comp Sci & Elec Eng)
Browse files

Up to Date Version

parent d83df963
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</classpathentry> </classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> <classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry exported="true" kind="lib" path="mysql-connector-java-8.0.19.jar"/> <classpathentry exported="true" kind="lib" path="mysql-connector-java-8.0.19.jar"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
......
...@@ -37,7 +37,7 @@ public class BaseQuery { ...@@ -37,7 +37,7 @@ public class BaseQuery {
DriverManager.registerDriver(new com.mysql.cj.jdbc.Driver()); DriverManager.registerDriver(new com.mysql.cj.jdbc.Driver());
connect = DriverManager.getConnection(database, uname, pwd); connect = DriverManager.getConnection(database, uname, pwd);
System.out.println( System.out.println(
"login successful\n------------------------------------------------------------------------------------------------------------"); "\nlogin successful\n------------------------------------------------------------------------------------------------------------");
} catch (Exception e) { } catch (Exception e) {
System.out.println("PLEASE TRY AGAIN"); System.out.println("PLEASE TRY AGAIN");
System.out.println(e); System.out.println(e);
...@@ -108,7 +108,7 @@ public class BaseQuery { ...@@ -108,7 +108,7 @@ public class BaseQuery {
} }
// connect.close(); connect.close();
} catch (SQLException e) { } catch (SQLException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
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