Guest User

Untitled

a guest
Mar 18th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. if (selectedDB == null) {
  2. // TODO: make sure this works in JAR.
  3. connection = DriverManager.getConnection("jdbc:sqlite::resource:files/sample.db");
  4. } else {
  5. connection = DriverManager.getConnection("jdbc:sqlite:" + selectedDB.toString());
  6. }
Add Comment
Please, Sign In to add comment