Commit 94c047cc by Patryk Czarnik

sterownik SQLite

parent 650d3c69
......@@ -21,6 +21,12 @@
<version>42.7.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.49.1.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -14,6 +14,7 @@ public class ModyfikacjaWTransakcji {
PreparedStatement avgStmt = c.prepareStatement(avgSql);
c.setAutoCommit(false);
// c.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
// weszliśmy w tryb transakcji, tzn. zmiany dokonywane w tej sesji nie będą zapisane w sposób trwały dopóki nie wykonamy polecenia COMMIT
// zerwanie sesji bez zrobienia COMMIT powoduje utratę zmian
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment