Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
crt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alahakoon K.M.R.A.B
crt
Commits
f30cc429
Commit
f30cc429
authored
May 01, 2022
by
Alahakoon K.M.R.A.B
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'branch' into 'master'
Add new vhmfile See merge request
!1
parents
9020e4b2
476d88b3
Pipeline
#5622
canceled with stages
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
branch
branch
+13
-0
No files found.
branch
0 → 100644
View file @
f30cc429
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment