Update SQLiteConnection.java

This commit is contained in:
s441433 2019-01-08 22:18:02 +01:00
parent 35001eb4b0
commit 7d2457a0ff

View File

@ -10,8 +10,8 @@ public class SQLiteConnection
public static Connection dbConnector() {
try {
Class.forName("org.sqlite.JDBC");
Connection conn=DriverManager.getConnection("jdbc:sqlite:stolowkaZPM.db");
JOptionPane.showMessageDialog(null, "połączono !!!!");
Connection conn=DriverManager.getConnection("jdbc:sqlite:C:\\myGO\\stolowkaZPM.db");
//JOptionPane.showMessageDialog(null, "połączono !!!!");
return conn;
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "nie");