Update SQLiteConnection.java
This commit is contained in:
parent
35001eb4b0
commit
7d2457a0ff
@ -10,8 +10,8 @@ public class SQLiteConnection
|
|||||||
public static Connection dbConnector() {
|
public static Connection dbConnector() {
|
||||||
try {
|
try {
|
||||||
Class.forName("org.sqlite.JDBC");
|
Class.forName("org.sqlite.JDBC");
|
||||||
Connection conn=DriverManager.getConnection("jdbc:sqlite:stolowkaZPM.db");
|
Connection conn=DriverManager.getConnection("jdbc:sqlite:C:\\myGO\\stolowkaZPM.db");
|
||||||
JOptionPane.showMessageDialog(null, "połączono !!!!");
|
//JOptionPane.showMessageDialog(null, "połączono !!!!");
|
||||||
return conn;
|
return conn;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
JOptionPane.showMessageDialog(null, "nie");
|
JOptionPane.showMessageDialog(null, "nie");
|
||||||
|
Loading…
Reference in New Issue
Block a user