79186756

Date: 2024-11-13 21:41:16
Score: 1
Natty:
Report link

So the issue was actually in the filepath, it specifies "univ" instead of "univ.db". It confused me because despite the blunder, the connection was still being established so I was looking for the problem elsewhere. When creating the database it created univ and univ.db, whatever univ is, it doesn't have the tables I created.

conn = DriverManager.getConnection("jdbc:sqlite:C:/sqlite/univ.db");
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: g3njac