Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (selectedDB == null) {
- // TODO: make sure this works in JAR.
- connection = DriverManager.getConnection("jdbc:sqlite::resource:files/sample.db");
- } else {
- connection = DriverManager.getConnection("jdbc:sqlite:" + selectedDB.toString());
- }
Add Comment
Please, Sign In to add comment