Update SQLiteConnection.java
This commit is contained in:
parent
35001eb4b0
commit
7d2457a0ff
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user