Skip to content

Commit

Permalink
shopping list poistoa
Browse files Browse the repository at this point in the history
  • Loading branch information
jusju committed Dec 11, 2023
1 parent c8e6be5 commit e729fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 04_tietokantaohjelmointi/try-with-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class TryWithResources {
ResultSet result = null;

try {
connection = DriverManager.getConnection("jdbc:sqlite:c:/sqlite/shoppingList.sqlite");
connection = DriverManager.getConnection("jdbc:sqlite:shoppingList.sqlite");

statement = connection.prepareStatement(SELECT_ALL);
result = statement.executeQuery();
Expand Down Expand Up @@ -123,4 +123,4 @@ public static void main(String[] args) {

}
}
```
```

0 comments on commit e729fb4

Please sign in to comment.