Commit f30cc429 authored by Alahakoon K.M.R.A.B's avatar Alahakoon K.M.R.A.B

Merge branch 'branch' into 'master'

Add new vhmfile

See merge request !1
parents 9020e4b2 476d88b3
Pipeline #5622 canceled with stages
public class DBConnect {
public static Connection connect() {
Connection con=null;
try {
Class.forName("org.sqlite.JDBC");
con=DriverManager.getConnection("jdbc:sqlite:TimeTableManager.db");
System.out.println("Connected");
}catch (ClassNotFoundException | SQLException e) {
System.out.println(e+"");
}
return con;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment