refactor: #2366 Change h2 database usage to in mem (#2776)

* fix: Change h2 database usage to in mem (#2366)

* #2366 Add delay option
This commit is contained in:
Jakub Klimek authored and GitHub committed 2024-01-27 13:07:10 +02:00
1 parent 7a966a5786
commit 0f39267a19
14 files changed
+37 -13

No files matched your search

@@ -49,7 +49,7 @@ import org.joda.money.Money;
*/
public class App {
public static final String H2_DB_URL = "jdbc:h2:~/test";
public static final String H2_DB_URL = "jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1";
public static final String CREATE_SCHEMA_SQL =
"CREATE TABLE CUSTOMERS (name varchar primary key, money decimal);"